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

Slides:



Advertisements
Similar presentations
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Advertisements

© Stefano Grazioli - Ask for permission for using/quoting:
The SQL Language Presented by Reggie James, Isel Liunoras, and Chris Rollins.
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
CSE 190: Internet E-Commerce Lecture 10: Data Tier.
Attribute databases. GIS Definition Diagram Output Query Results.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
© Stefano Grazioli - Ask for permission for using/quoting:
Financial Information Management FIM: Databases Stefano Grazioli.
Financial Information Management How do I talk to a DBMS? SQL In one hour.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
From VS C# 2010 Programming, John Allwork 1 VS2010 C# Programming - DB intro 1 Topics – Database Relational - linked tables SQL ADO.NET objects Referencing.
Class 6 Data and Business MIS 2000 Updated: September 2012.
Chapter 5 Database Processing.
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
LOGO 1 Lab_02: Basic SQL. 2 Outline  Database Tables  SQL Statements  Semicolon after SQL Statements?  SQL DML and DDL  SQL SELECT Statement  SQL.
Financial Information Management DBMS and Operations, BI, and Analytics Stefano Grazioli.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Databases in Visual Studio. Database in VisualStudio An MS SQL database are built in Visual studio The Name can be something like ”(localdb)\Projects”
Introduction to SQL Steve Perry
2440: 141 Web Site Administration Database Management Using SQL Professor: Enoch E. Damson.
Simple Database.
Chapter 15: Using LINQ to Access Data in C# Programs.
Databases. Database A database is an organized collection of related data.
Part 1. Persistent Data Web applications remember your setting by means of a database linked to the site.
Database Fred Durao What is a database? A database is any organized collection of data. Some examples of databases you may encounter in.
SQL Structured Query Language Programming Course.
Chapter 5 Database Processing. Neil uses software to query a database, but it has about 25 standard queries that don’t give him all he needs. He imports.
Financial Information Management Putting VB & SQL To Work Stefano Grazioli.
BY SATHISH SQL Basic. Introduction The language Structured English Query Language (SEQUEL) was developed by IBM Corporation, Inc., to use Codd's model.
Financial Information Management Changing data in a DB Stefano Grazioli.
Financial Information Management Operations, BI, and Analytics Stefano Grazioli.
CIS 375—Web App Dev II SQL. 2 Introduction SQL (Structured _______ Language) is an ANSI standard language for accessing databases.ANSI SQL can execute.
© Stefano Grazioli - Ask for permission for using/quoting:
CIS 375—Web App Dev II SQL. 2 Introduction SQL (Structured _______ Language) is an ANSI standard language for accessing databases.ANSI SQL can execute.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
© Stefano Grazioli - Ask for permission for using/quoting:
CF Database I Jeff Peters Why Are You Here? Data and Persistence ODBC Relational vs. Flat SQL CFQUERY, CFOUTPUT, CFLOOP Practicum.
Chapter 3: Relational Databases
Financial Information Management FIM: Databases Stefano Grazioli.
© Stefano Grazioli - Ask for permission for using/quoting: Putting VBA & SQL To Work.
© Stefano Grazioli - Ask for permission for using/quoting: Stefano Grazioli.
Financial Information Management Modifying data in a DB Stefano Grazioli.
© Stefano Grazioli - Ask for permission for using/quoting: Stefano Grazioli.
Financial Information Management Operations, BI, and Analytics Stefano Grazioli.
© Stefano Grazioli - Ask for permission for using/quoting: Stefano Grazioli.
DAY 9: DATABASES Rohit February 17,
Chapter 9 Working with Databases. Copyright © 2011 Pearson Addison-Wesley Introduction In this chapter you will learn: – Basic database concepts – How.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
© Stefano Grazioli - Ask for permission for using/quoting: Stefano Grazioli.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
Tableau Desktop & Server
Databases Stefano Grazioli.
Databases and the MVC Model
CS SQL.
Chapter 1 Introduction.
BI tools: Excel’s Pivot table
Dynamic SQL Queries Stefano Grazioli.
Dynamic SQL Queries Stefano Grazioli.
CS3220 Web and Internet Programming SQL and MySQL
Databases and the MVC Model
Dynamic SQL Queries Stefano Grazioli.
Dynamic SQL Queries Stefano Grazioli.
BI tools: Excel’s Pivot table
CS3220 Web and Internet Programming SQL and MySQL
Database Connections.
Updating Databases With Open SQL
Updating Databases With Open SQL
Presentation transcript:

© 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