I am learning SQL for my database class and how found online resources to be a BIG help. One of my favorite sites is sqlzoo.net, because it offers the user the ability to practice with code writing and see immediately whether they are correct. Typing SQL commands into the command box and hitting the “Submit Query” button will either tell the user whether their answers are correct by showing the selected attributes and rows, or notify the user that their SQL is incorrect.
If the messages notifying you that your SQL is incorrect and are too cryptic, check out the answer page links located toward the bottom of the index page.