IEOR 215: Analysis and Design of Databases

SQL Online Exercise

Prof. Ken Goldberg, UC Berkeley
Fall 2006

Below is a commercial system to demonstrate SQL, where you can type in queries using online forms:

      Interactive SQL tutorial and demonstration

Please try a few exercises. Section 11 contains the interactive form, and links to the two tables:

Note that this SQL interpreter does not support sub-SELECT statements or all SQL operators.


Write queries for the following (note that you can run the SQL query real-time in the dialog box at the bottom of each page):