Database Systems for Website Applications assignment, need by tomorrow same time!
Database Systems for Website Applications assignment:
In this assignment, you will review the below schema then answer the three questions listed afterwards.
Assume and review the following Internet movie database schema:
Database:
Table: movie
id — int, primary key
title — char
year — int
rating — float
Table: person
id — int, primary key
name — char
sex — char
age — int
Table: role
personid — foreign key references person — int
movieid — foreign key references movie —- int
character — char
Based on your review of the Internet movie database schema above, respond to the following:
- Explain the role of primary and foreign keys in databases. Explain why we need them and whether we can extract information from tables without having primary or foreign keys.
- Write and execute a SQL for each of the following scenarios:
- An SQL with a nested subquery.
- A select query that uses GROUP BY
- A select query that uses ORDER BY
- A select query that uses Inner JOIN
- A select query that uses an Outer JOIN
- A select query that uses UNION
- A select query that uses EXCEPT
- Make sure you give a screenshot of the output from executing your queries.
10 years ago
20
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- redb.zip
- work.docx
Bids(1)
other Questions(10)
- paper
- American History Speech Assignment
- history 1700 essay
- Preventive controls
- The grade
- For your initial post this week imagine that you are a lawyer arguing a case concerning federalism before the Supreme Court of the United States of America. This case has to do whether the power to create policy on a particular issue should be in the hand
- Exel formula input (financial ratio)
- 10-slide Microsoft PowerPoint &1-page Microsoft Word Executive Summary on this presentation
- Write an active imagination with Emerson about one of the touchstones. What did you learn about the ideas of Emerson?
- Asignación 3: Medidas de Tendencia Central y Dispersión 1. La tabla adjunta describe los asesinatos por mes que ocurrieron en Puerto...