Are you looking for something like this?
http://sqlfiddle.com/ or http://sqltest.net/
1.4m articles
1.4m replys
5 comments
57.0k users