The SQL Language Presented by Reggie James, Isel Liunoras, and Chris Rollins.

Slides:



Advertisements
Similar presentations
COMP 5531 Introduction to MySQL. SQL SQL is a standard language for accessing and managing databases. SQL stands for Structured Query Language.
Advertisements

Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
PL/SQL. Introduction to PL/SQL PL/SQL is the procedure extension to Oracle SQL. It is used to access an Oracle database from various environments (e.g.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
CIT 613: Relational Database Development using SQL Introduction to SQL.
Database Basics I101 Summer 2006 Copyright 2004, Matt Hottell.
Murali Mani Persistent Stored Modules (Stored Procedures) : PSM.
ORACLE Lecture 1: Oracle 11g Introduction & Installation.
Database Software File Management Systems Database Management Systems.
DATABASE APPLICATION DEVELOPMENT SAK 3408 Introduction (week 1)
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
1 SQL (CSCE 330) Team Members Bushira Kiyemba La’Trice Johnson Curtis Merriweather.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
SEMESTER 1, 2013/2014 DB2 APPLICATION DEVELOPMENT OVERVIEW.
From VS C# 2010 Programming, John Allwork 1 VS2010 C# Programming - DB intro 1 Topics – Database Relational - linked tables SQL ADO.NET objects Referencing.
How a little code can help with support.. Chris Barba – Developer at Cimarex Energy Blog:
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
RDB/1 An introduction to RDBMS Objectives –To learn about the history and future direction of the SQL standard –To get an overall appreciation of a modern.
Dr. Magdi AMER Unit 2 Introduction to Database. Intro Many programs need to save information on disk. The role of DB system is to provide a layer of abstraction.
Part 1. Persistent Data Web applications remember your setting by means of a database linked to the site.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Introduction to SQL.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
Chapter 3 Concise History of SQL IFS Intro. to Data Management.
DATA MANIPULATION andCONTROL
“INTRODUCTION TO DATABASE AND SQL”. Outlines 2  Introduction To Database  Database Concepts  Database Properties  What is Database Management System.
BY SATHISH SQL Basic. Introduction The language Structured English Query Language (SEQUEL) was developed by IBM Corporation, Inc., to use Codd's model.
Hibernate 3.0. What is Hibernate Hibernate is a free, open source Java package that makes it easy to work with relational databases. Hibernate makes it.
Module 1: Database System
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Nic Shulver Chris Introduction to databases Introduction Storage Temporary and Permanent Unstructured.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
SQL Basic. What is SQL? SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to communicate with a database.
© Stefano Grazioli - Ask for permission for using/quoting:
What’s a database? Data stored in a structured format that lends itself to easy manipulation and recall.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Copyright © 2003 Addison-Wesley Timeline for Database Systems Developments before 1960 transition from punched card and tape 1960s, from file management.
Visual Programing SQL Overview Section 1.
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,
Dr Gordon Russell, Napier University Unit Embedde SQL - V2.0 1 Embedded SQL Unit 5.1.
CF Database I Jeff Peters Why Are You Here? Data and Persistence ODBC Relational vs. Flat SQL CFQUERY, CFOUTPUT, CFLOOP Practicum.
© Keith Vander Linden, A language that doesn't affect the way you think about programming is not worth knowing. - Alan Perlis, “Epigrams in Computing”,
SQLite DB Storing Data in Android RAVI GAURAV PANDEY 1.
CIT 613: Relational Database Development using SQL Introduction to SQL DeSiaMorePowered by DeSiaMore 1.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
©2007 Really Strategies, Inc. CONFIDENTIAL 1 Native XML Content Management Philadelphia XML Users’ Group.
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
1 A Very Brief Introduction to Relational Databases.
Financial Information Management FIM: Databases Stefano Grazioli.
© Stefano Grazioli - Ask for permission for using/quoting: Stefano Grazioli.
CS 440 Database Management Systems Stored procedures & OR mapping 1.
CS320 Web and Internet Programming SQL and MySQL Chengyu Sun California State University, Los Angeles.
7.5 Using Stored-Procedure and Triggers NAME MATRIC NUM GROUP Muhammad Azwan Bin Khairul Anwar CS2305A Muhammad Faiz Bin Badrol Shah CS2305B.
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.
 INDEX  Overview.  Introduction.  System Requirement.  Features Of SQL.  Development Process.  System Design (SDLC).  Implementation.  Future.
COMP 430 Intro. to Database Systems
آشنایی با نرم افزار Microsoft Access
CS320 Web and Internet Programming SQL and MySQL
“Introduction To Database and SQL”
CS 440 Database Management Systems
Structured Query Language
ORACLE.
CS3220 Web and Internet Programming SQL and MySQL
Chapter 9 Query-by-Example Pearson Education © 2009.
Chapter 1 Introduction to Database Processing
CS3220 Web and Internet Programming SQL and MySQL
SQL NOT NULL Constraint
Presentation transcript:

The SQL Language Presented by Reggie James, Isel Liunoras, and Chris Rollins

Table of Contents  What is SQL?  History  Timeline  Features  Advantages/Disadvantages  Programming Examples  Conclusion

What Is SQL?  SQL stands for Structured Query Language  SQL is a declarative language  Results in one statement of the desired result (i.e. ML and Haskell)  Unlike procedural languages (many lines of code)  Used for RDBMS (Relational Database Management System)

History of SQL

 In 1970, Dr. E “Ted” Codd introduced the relational model for databases  In 1974, IBM started to develop System/R (predecessor to SQL)  In 1978, System/R released by IBM  In 1982, IBM released SQL/DS and DB25  The versions used today are SQL 89, SQL 92 and SQL 99. Most businesses are still using SQL 92

Dr. E.F. “Ted” Codd

Relational Data Model  Data model used for business data management  In this model, data are organized into tables  The set of names of the columns is called the schema of the table

Timeline of SQL

Features of SQL

 Runs queries of databases  Exists on Windows and UNIX platforms  There are different versions of SQL that are still existing  Backwards compatible

Disadvantages and Advantages

Disadvantages  Code cannot be reused  Can’t link databases graphically

Advantages to SQL  User can customize query with unlimited parameters  Takes up less space than the GUI interfaces such as: Access and Paradox  Easy to learn  High Productivity  Integration with Oracle and Microsoft

Programming Examples

Programming Example LOOP over each student record IF this record has major = ‘Nutrition’ THEN DELETE this record; END IF; END LOOP;

Another Programming Example DECLARE V_NewMajor VARCHAR2(10) := ‘History’; V_FirstName VARCHAR2(10) := ‘Scott’; v_LastName VARCHAR2(10) := ‘Urman’; BEGIN UPDATE students SET major = v_NewMajor WHERE first_name = v_LastName; IF SQL%NOTFOUND THEN INSERT INTO students (ID, first_name, last_name, major) VALUES (student_sequence.NEXTVAL,v_FirstName,v_LastName, v_NewMajor); END IF; END;

Conclusion  SQL is a very powerful query language provided that the user is familiar  SQL is relatively easy to learn  Upcoming product releases will change the relative strengths of the database management systems  Making it more powerful  Making it more efficient