2

I am always struggling when asking SQL questions. How are we supposed to ask questions related to SQL including table definitions and code examples? Is there a jsfiddle.net equivalent for sql that works for this matter?

1 Answer 1

8

Yes there is a site http://sqlfiddle.com/ which is equivalent for SQL. But don't just add its link. You should add table structure and your present code. If you want to format your table you can use this tool: Format Text as a Table.

3
  • 4
    +1 And one other point to the OP. Don't forget to tag the RDBMS and version. Commented Jun 17, 2013 at 12:19
  • 1
    OMG I love that Format text tool ! Commented Jun 17, 2013 at 14:23
  • 2
    It's worth pointing out that SQL Fiddle has a "Markdown Output" option for returning your queries. This was built with the intention of making it easier to post the full details onto SO questions. Just use the little dropdown arrow next to the "Run SQL" button to use it. Commented Jun 17, 2013 at 18:16

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.