Guidelines for database assignments
Guidelines for database assignments
You should supply the following:
- Your team name and the names of its members
- A one paragraph description of the problem
- The data model in png format (File > Export > Export as PNG…)
- The name of the database on the MySQL server
- Ten queries
- A natural language description of the query
- The SQL and the results (Query -> Execute (All or Selection) to Text)
- Copy and paste the results into a word processing document so that everything is in one document.
- The ten queries should cover the following SQL features:
- multiple table join
- subquery
- correlated subquery
- GROUP BY
- GROUP BY with HAVING
- ORDER BY
- Divide
- IN or NOT IN
- A built-in function (e.g., AVG) or a calculated field
- REGEXP
- EXISTS or NOT EXISTS, other than in divide
- You may combine some of the preceding list of features into a single query. Indicate in matrix format in your report which features are covered in a query. A sample matrix is shown:
Query 1 | Query 2 | ... | |
multiple table join | x | ||
subquery | x | x | |
... | x |
- Submit a PDF report containing all the above as a single file.