© Stefano Grazioli - Ask for permission for using/quoting:
Easy meter
© Stefano Grazioli - Ask for permission for using/quoting: How do I talk to a DBMS?
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)
© Stefano Grazioli - Ask for permission for using/quoting:
ACTUAL TABLE DIAGRAM ACTUAL TABLE DIAGRAM LO id f name l name phone
One Many
One Many
foreign key: a PK in another table, used to link the two tables
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
© Stefano Grazioli - Ask for permission for using/quoting:
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
SELECT First_Name, Last_Name, ssn FROM StudentTbl WHERE gpa > 3.0 ORDER BY Last_Name;
SELECT INSERT UPDATE DELETE CREATE DROP
You Your browser Data (Customer, Product, Order) DBMSDBMS On a Server somewhere SQL On your local machine (e.g., laptop, lab PC) Web server
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
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
Access to the DB is easier from the lab machines. Use a VPN if from your laptop or from home.
Name, Major Learning Objectives Things you like about the class Things that can be improved Attitude towards the Tournament