LearnSQL Fiddle

writes on February 2, 2012

Share with your friends


If you like jsFiddle, then you will love SQL Fiddle. It allows you to select a database, build a schema, populate the schema and run queries against it. The service currently supports MS SQL, MySQL, Oracle, and PostgreSQL. Why is this interesting? You can compare databases, post questions to forums along with your schema and query or just prototype an idea.

7 Responses to “SQL Fiddle”

  1. That would be really useful for any SQL demos I need to do.

  2. Thats fantastic! Thanks! It’s everytime inconvenient to rebuild schema and to test queries agains it.

  3. I have had this working with a local SQL server in the past, I simply
    made a dataset, added an insert statement and then referenced the
    dataset in the behind code by using a line such as:

  4. Yeah, it’s really a great idea. I regret why I didn’t think of such a utility before ;). But I can’t find Save button on it, just like jsfiddle. Am I missing something?

  5. Yes it is really simple as all ingenious! I already could apply earlier a similar code.

  6. ravana on June 6, 2013 at 11:33 am said:


    There is no Save button because there is no need to. SQLFiddle automatically saves the schema and your sql queries whenever you execute them. But I guess, we have to log out and log in back again (via openid) to view these saves SQLs. I’m using the incognito mode.

    Needless to say, this is a wonderful piece of work. Now there is SQLLite support as well.


  7. Hello there! I could have sworn I’ve been to this site before but after reading through some of the post I realized it’s new to me. Anyhow, I’m definitely delighted I found it and I’ll be book-marking and checking back frequently!|

Leave a Reply

Learning to code can be fun!

Get started today with a free trial and discover why thousands of students are choosing Treehouse to learn about web development, design, and business.

Learn more