1 / 6

AFI Top Ten Database

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

Download Presentation

AFI Top Ten Database

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AFI Top Ten Database Ben English Emma Backman

  2. The Tables

  3. The Relationships

  4. 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”.

  5. Sample Report

  6. The Model

More Related