Skip to main content
17 events
when toggle format what by license comment
Dec 14, 2017 at 12:13 comment added SandPiper I have never written an INSERT statement before my SQL questions, but I do describe the hypothetical tables and type out some sample entries.
May 23, 2017 at 12:37 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Sep 5, 2016 at 19:47 comment added Drew @Bruce I wrote this silly Q and self-answer entitled What is Sqlfiddle and why should I care? but in fact it is pretty serious. At least as serious as you guys want answers to your db questions. It takes us 10 minutes or more sometimes to create the tables and load in test data. We should be able to get all edge condition data from the OP and not have to do this. We don't need actual data. We need actual table schemas and fake data with boundary conditions. Otherwise we just skip the question and ignore it. Also, actual expected results, please.
Sep 5, 2016 at 4:17 history edited Peter Mortensen CC BY-SA 3.0
Copy edited (e.g. ref. <http://en.wikipedia.org/wiki/MySQL>).
Sep 4, 2016 at 22:19 comment added Bruce @Strawberry it has indeed, unfortunately not before I started losing what little rep points I have lol. But hey, live and learn right :)
Sep 4, 2016 at 22:09 comment added Strawberry Sounds like the penny's dropped
Sep 4, 2016 at 22:05 comment added Bruce @MartinSmith obviously I already understand that link or the entire first paragraph of this question wouldn't make an awful lot of sense. I am understanding now however, I need to include the database creation queries, the queries being run against the tables, the example results of those queries, and of course the expected outcome.
Sep 4, 2016 at 22:02 comment added Bruce @Strawberry the only thing difficult about it is I am thick and don't often understand what is actually being asked of me. You made it very clear as have a few other comments that, I need to include the select and insert statements to actually create the database. Now that I understand that, I will always do that, however I have a feeling I will be explaining to people rather frequently why sqlfiddle won't recreate the problems as generally when I have sql problems they are not simple statements.
Sep 4, 2016 at 11:42 comment added Martin Smith Please see How to create a Minimal, Complete, and Verifiable example plenty of other people manage it in the SQL tags. There's nothing inherent about SQL that prevents it. You should include DDL with minimal example data and a minimal query that reproduces the issue you are asking about and desired results for that example data. You can feel free to ignore this advice but as your question has sat there for 2 days unanswered your current approach doesn't seem to be working out for you.
Sep 4, 2016 at 11:08 answer added Aleksi Torhamo timeline score: 4
Sep 4, 2016 at 10:45 comment added Strawberry I don't get what's so difficult about it. No one's asking you to provide actual data - that's probably illegal! All we want is a properly representative data set (formulated as a set of CREATE and INSERT statements) together with a desired result. Hundreds of questions are asked here everyday. Is it not reasonable that those asking the questions undertake some of the basic legwork necessary to simplify the process of answering them?
Sep 4, 2016 at 9:53 comment added Bruce This is the type of terminology that frustrates me. "You've provided a query and the result of that query but not the source data." By definition source data is the location that data comes from. ITS MOCKUP DATA. There is no primary location except my head from whence it came. I could write a mockup database creation query but, mix with that people tend to copy and paste mysql code into sqlfiddle and then you have to spend time explaining why using sqlfiddle is like plugging mysql code into mssql.... and it doesn't always produce the same results nor problems, and it becomes a complicated mess
Sep 4, 2016 at 7:33 comment added Martin Smith "I could literally write a CREATE database and a series of insert commands that would recreate the example mockup I gave, and reproduce my problem." So do that then. You've provided a query and the result of that query but not the source data that led to those results. You should also provide the expected results. With the source data and expected results provided it is easy for answerers to validate that their answers actually produce what you want.
Sep 3, 2016 at 6:58 vote accept Bruce
Sep 3, 2016 at 6:32 history edited user3956566
edited tags
Sep 3, 2016 at 6:08 answer added user3956566 timeline score: 21
Sep 3, 2016 at 6:04 history asked Bruce CC BY-SA 3.0