Considering how many javascript and other fiddles there are out there, it shouldn’t come as any sort of surprise that there’s a SQL Fiddle too. We use MongoDB at my work so I haven’t actually tried SQL Fiddle myself, but if you do write SQL and ever need help, it looks like an amazing tool for collaboration.