Return to main page
Database Management Systems
CMSC 461-02 - Spring 2023
Homework 1
Due: Wednesday, March 15th by 11:59:00 PM EDT (on Blackboard)
Musical Selection: Bagatelle No.25 in A minor — Ludwig van Beethoven
Respond to the following prompts with appropriate answers. Submit a PDF
of your responses on Blackboard. Each question is weighted equally. Where examples are
asked for, you must come up with your own example — you may not use the ones given
in the text or slides.
-
Describe the difference between an INNER JOIN and an OUTER JOIN in
SQL. Include a discussion of all three types of OUTER JOINs.
-
Describe what a SQL view is. Include an example where using a view might be useful.
-
Describe what a SQL injection attack is and give the two ways described in-class that
one can prevent such an attack.
-
Desribe what a trigger is in SQL and give an example of where one might be used.
-
Give SQL CREATE TABLE statements to create all of the tables necessary to
implement the following E-R Diagram. Be sure to include all keys (primary and foreign).
Last modified Wednesday, 08-Mar-2023 22:02:17 EST