afi top ten database
DESCRIPTION
AFI Top Ten Database. Ben English Emma Backman. The Tables. The Relationships. Sample SQL Statements. SELECT * FROM [Purchasing Info] WHERE price < 15.99; This SQL command string will return cheaper items from among the ten films listed. SELECT * FROM Financials WHERE [Budget] > 2000000 - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: AFI Top Ten Database](https://reader035.vdocument.in/reader035/viewer/2022062221/5681335d550346895d9a734f/html5/thumbnails/1.jpg)
AFI Top Ten Database
Ben EnglishEmma Backman
![Page 2: AFI Top Ten Database](https://reader035.vdocument.in/reader035/viewer/2022062221/5681335d550346895d9a734f/html5/thumbnails/2.jpg)
The Tables
![Page 3: AFI Top Ten Database](https://reader035.vdocument.in/reader035/viewer/2022062221/5681335d550346895d9a734f/html5/thumbnails/3.jpg)
The Relationships
![Page 4: AFI Top Ten Database](https://reader035.vdocument.in/reader035/viewer/2022062221/5681335d550346895d9a734f/html5/thumbnails/4.jpg)
Sample SQL Statements SELECT * FROM [Purchasing Info] WHERE price < 15.99;
This SQL command string will return cheaper items from among the ten films listed.
SELECT * FROM Financials WHERE [Budget] > 2000000 -This SQL command string will return all films with a budget in
excess of two million dollars.
SELECT Title FROM [Title Info] WHERE [Runtime (minutes)] > 120 AND [Format for purchase] = ‘DVD’; This SQL command string will return longer films (over two hours),
and only those which are also on DVD.
UPDATE Financials SET Gross = 20000 WHERE ID=2; This SQL command string will update (essentially rounding up) the
listed gross amount for film number two – “City Lights”.
![Page 5: AFI Top Ten Database](https://reader035.vdocument.in/reader035/viewer/2022062221/5681335d550346895d9a734f/html5/thumbnails/5.jpg)
Sample Report
![Page 6: AFI Top Ten Database](https://reader035.vdocument.in/reader035/viewer/2022062221/5681335d550346895d9a734f/html5/thumbnails/6.jpg)
The Model