Financial Information Management How do I talk to a DBMS? SQL In one hour.

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

THE RELATIONAL DATABASE MODEL & THE DATABASE DEVELOPMENT PROCESS Fact of the Week: According to a Gartner study in ‘06, Microsoft SQL server had the highest.
CSE 190: Internet E-Commerce Lecture 10: Data Tier.
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.
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
Simple Database.
Chapter 15: Using LINQ to Access Data in C# Programs.
Part 1. Persistent Data Web applications remember your setting by means of a database linked to the site.
Web Services Week 8 Aims: –Using web services as front ends to databases Objectives: –Review of relational databases –Connecting to and querying databases.
1 Working with MS SQL Server Textbook Chapter 14.
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.
Financial Information Management Changing data in a DB Stefano Grazioli.
Recap of SQL Lab no 8 Advance Database Management System.
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:
© 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,
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
CF Database I Jeff Peters Why Are You Here? Data and Persistence ODBC Relational vs. Flat SQL CFQUERY, CFOUTPUT, CFLOOP Practicum.
1 A Very Brief Introduction to Relational Databases.
Financial Information Management FIM: Databases Stefano Grazioli.
Financial Information Management Business Intelligence Putting VBA & SQL To Work.
Financial Information Management Modifying data in a DB 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.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Introduction to Database Programming with Python Gary Stewart
Tableau Desktop & Server
Databases Stefano Grazioli.
Databases and the MVC Model
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Operations, BI, and Analytics
Business Intelligence
CS320 Web and Internet Programming SQL and MySQL
BI tools: Excel’s Pivot table
Dynamic SQL Queries Stefano Grazioli.
Dynamic SQL Queries Stefano Grazioli.
BI: Accessing Enterprise Data
BI: Accessing Enterprise Data
CS3220 Web and Internet Programming SQL and MySQL
Databases and the MVC Model
Dynamic SQL Queries Stefano Grazioli.
Trading Stock and Options in Athens
Dynamic SQL Queries Stefano Grazioli.
BI tools: Excel’s Pivot table
CS3220 Web and Internet Programming SQL and MySQL
Database Connections.
Operations, BI, and Analytics
Trading Stock and Options in Athens
Operations, BI, and Analytics
Presentation transcript:

Financial Information Management How do I talk to a DBMS? SQL In one hour

Critical Thinking  Easy meter

Before Querying….  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)

Real World Example (fragment)

Financial Information Management SmallBank Ltd. Database example

Loan Officer Table ACTUAL TABLE DIAGRAM ACTUAL TABLE DIAGRAM LO id f name l name phone

Data Model: SmallBank,Ltd. One Many

One Many Reading the Relationships

Navigating the Relationship (join) foreign key: a PK in another table, used to link the two tables

Different Dialects, Same Idea 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

Financial Information Management WINIT What Is New In Technology?

Financial Information Management Homework SQL Practice

SQL  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

SQL EXAMPLE: A QUERY SELECT First_Name, Last_Name, ssn FROM StudentTbl WHERE gpa > 3.0 ORDER BY Last_Name;

4+2 BASIC SQL COMMANDS  SELECT  INSERT  UPDATE  DELETE  CREATE  DROP

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

Interacting with a DB (2) You Some BI software DBMSDBMS On a Server somewhere SQL On your local machine (e.g., laptop, lab PC) Data (Customer, Product, Order) Example: Tableau, Excel

Interacting with a DB (3) You Visual Studio Small Bank DB (Loan, Loan Officer, Customer…) Small Bank DB (Loan, Loan Officer, Customer…) SQL Server DBMS Server in the McIntire datacenter F-sg6m-s4.comm.virginia.edu SQL Your local machine (e.g., laptop, lab PC) DEMO

Suggestions Easier to connect from the labs. Connecting from your laptop or home requires a VPN

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