Presentation is loading. Please wait.

Presentation is loading. Please wait.

SQL Relational Database Project

Similar presentations


Presentation on theme: "SQL Relational Database Project"— Presentation transcript:

1 SQL Relational Database Project
Challenge Dolan’s Databases needs to expand so that accurate records can be kept of DVD hire. Some further tables are needed to record hire information: A table that contains customer details A table that contains information that records when DVDs are loaned out You might also want to record some information about staff (optional) You might want to add further fields to the Stock table (for example a primary key) Design Use another slide to design how the database tables might link together (think about Primary keys and Foreign Keys). Build Start creating the new tables in SQLite3

2 I want my @@####&&% DVDs back!!!

3 Simple Query The company needs to ensure that DVDs on loan are returned. What output will this query produce?

4 Simple Query This is a list of rentals still on loan. How useful is? How could it be improved?

5 Complex Query 1 It would be really helpful to know the title of the DVD. How is this query different? Uses dot notation to draw data from different tables Creates a join to Stock table linking FK to PK

6 Complex Query 1 These are the results of the query. How could it be improved further?


Download ppt "SQL Relational Database Project"

Similar presentations


Ads by Google