Beginners' tutorial on how to extract information from databases with SQL