Presentation is loading. Please wait.

Presentation is loading. Please wait.

© Stefano Grazioli - Ask for permission for using/quoting:

Similar presentations


Presentation on theme: "© Stefano Grazioli - Ask for permission for using/quoting:"— Presentation transcript:

1 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

2  Easy meter

3 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu How do I talk to a DBMS?

4  Figure out what data is available  Ask about the data model and the data dictionary, but…  …they may not have it. A picture of the contents of the database A text description of the contents of the database (e.g. columns content)

5

6 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

7 ACTUAL TABLE DIAGRAM ACTUAL TABLE DIAGRAM LO id f name l name phone

8 One Many

9 One Many 112233445566

10 foreign key: a PK in another table, used to link the two tables

11 Chen Modified Chen (IE) IDEF1X Microsoft LoanLoan Loan Officer admin by LoanLoan Loan Officer admin by 1:10:n Employee Dept Admin by LoanLoan Loan Officer Employee Dept LoanLoan Loan Officer

12 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

13

14  Structured Query Language  The standard language for databases  70s: - Codd - SEQUEL – Structured English QUEry Language  commercialized it in 1979  1986 ISO/ANSI  Sometimes sought as a required skill in interviews

15 SELECT First_Name, Last_Name, ssn FROM StudentTbl WHERE gpa > 3.0 ORDER BY Last_Name;

16  SELECT  INSERT  UPDATE  DELETE  CREATE  DROP

17 You Your browser Data (Customer, Product, Order) DBMSDBMS On a Server somewhere SQL On your local machine (e.g., laptop, lab PC) Web server

18 You Some BI software DBMSDBMS On a Server – for example in the McIntire datacenter – 2 nd floor SQL On your local machine (e.g., laptop, lab PC) Data (Customer, Product, Order) Example: Tableau, Excel

19 You Visual Studio Small Bank DB (Loan, Loan Officer, Customer…) Small Bank DB (Loan, Loan Officer, Customer…) SQL Server DBMS On a Server F-sg6m-s4.comm.virginia.edu SQL Your local machine (e.g., laptop, lab PC) DEMO

20 Access to the DB is easier from the lab machines. Use a VPN if from your laptop or from home.

21  Name, Major  Learning Objectives  Things you like about the class  Things that can be improved  Attitude towards the Tournament


Download ppt "© Stefano Grazioli - Ask for permission for using/quoting:"

Similar presentations


Ads by Google