 Review HW #4  Answer questions about Microsoft Visio  Introduce SQL  Introduce SQL Server 2008 environment for programming SQL  Will meet in AB208.

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

SQL -I Reading: C&B, Chaps 6, 7, 8 & 9. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn The basic concepts and principles.
Basic SQL Introduction Presented by: Madhuri Bhogadi.
1 SQL Server Management Studio SQL DDL CREATE TABLE Constraints ALTER TABLE DROP TABLE The GUI way Steen Jensen, autumn 2013.
Virtual training week 4 structured query language (SQL)
Introduction to Structured Query Language (SQL)
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 4-1 David M. Kroenke Database Processing Chapter 2 Structured Query Language.
Introduction to Structured Query Language (SQL)
Introduction to Structured Query Language (SQL)
Chapter 04 How to retrieve data in a single table MIT 22033, Database Management System By: S. Sabraz Nawaz.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Introduction.
Ceng 356-Lab1. Objectives After completing this lesson, you should be able to do the following: Get Familiar with the development environment List the.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Chapter 4 SQL. SQL server Microsoft SQL Server is a client/server database management system. Microsoft SQL Server is a client/server database management.
Database Lecture # 1 By Ubaid Ullah.
Chapter 9 SQL and RDBMS Part C. SQL Copyright 2005 Radian Publishing Co.
15 Structured Query Language (SQL). 2 Objectives After completing this section, you should be able to: Understand Structured Query Language (SQL) and.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.
An introduction to SQL 1/21/2014 – See chapter 2.3 and 6.1 PostgreSQL -
CS 3630 Database Design and Implementation. Your Oracle Account UserName is the same as your UWP username Followed Not case sensitive Initial.
Introduction to SEQUEL. What is SEQUEL? Acronym for Structural English Query Language Acronym for Structural English Query Language Standard language.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
Structure Query Language SQL. Database Terminology Employee ID 3 3 Last name Small First name Tony 5 5 Smith James
SQL SQL Server : Overview SQL : Overview Types of SQL Database : Creation Tables : Creation & Manipulation Data : Creation & Manipulation Data : Retrieving.
Chapter 5: Part 1: DDL STRUCTURED QUERY LANGUAGE (SQL)
“INTRODUCTION TO DATABASE AND SQL”. Outlines 2  Introduction To Database  Database Concepts  Database Properties  What is Database Management System.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Quick review of SQL And conversion to Oracle SQL.
SQL: Data Manipulation I Chapter 5 CIS 458 Sungchul Hong.
Oracle 11g DATABASE DEVELOPMENT LAB1. Introduction  Oracle 11g Database:-  Oracle 11g database is designed for some features, which helps to the organizations.
BTM 382 Database Management Chapter 7 Introduction to Structured Query Language (SQL) Chitu Okoli Associate Professor in Business Technology Management.
 SQL statements are not case sensitive.  SQL statements can be on one or more lines.  Keywords cannot be abbreviated or split across lines.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
Agenda for Class 9/25/2012 Introduce Microsoft’s SQL Server database management system. Use the lab to discuss how to CREATE, DROP and populate (INSERT)
Topic 1: Introduction to SQL. SQL stands for Structured Query Language. SQL is a standard computer language for accessing and manipulating databases SQL.
SQL Unit – 2 Base Knowledge Presented By Mr. R.Aravindhan.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Features of SQL SQL is an English-like language . It uses words such as select , insert , delete as part of its commend set. SQL is an a non-procedural.
1 DBS201: Introduction to Structure Query Language (SQL) Lecture 1.
CHAPTER 6: INTRODUCTION TO SQL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
SQL. คำสั่ง SQL SQL stands for Structured Query Language is a standard language for accessing and manipulating databases.
Database Lab Lecture 1. Database Languages Data definition language ( DDL ) Data definition language –defines data types and the relationships among them.
Copyright  Oracle Corporation, All rights reserved. Introduction.
DBSQL 5-1 Copyright © Genetic Computer School 2009 Chapter 5 Structured Query Language.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
SQL.. AN OVERVIEW lecture3 1. Overview of SQL 2  Query: allow questions to be asked of the data and display only the information required. It can include.
ITS232 Introduction To Database Management Systems Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi MARA (UiTM), Kedah.
Agenda for Class 2/20/2014 Introduce Microsoft’s SQL Server database management system. Use the lab to discuss how to CREATE, DROP and populate (INSERT)
1 Copyright © Oracle Corporation, All rights reserved. Writing Basic SQL SELECT Statements.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
SQL. Originally developed by IBM Standardized in 80’s by ANSI and ISO Language to access relational database and English-like non-procedural Predominant.
SQL Introduction to database and SQL. Chapter 1: Databases and Database Users 6 Introduction to Databases Databases touch all aspects of our lives. Examples:
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
LM 5 Introduction to SQL MISM 4135 Instructor: Dr. Lei Li.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 6: INTRODUCTION.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
SQL Basics Review Reviewing what we’ve learned so far…….
CHAPTER 7 DATABASE ACCESS THROUGH WEB
CS 3630 Database Design and Implementation
“Introduction To Database and SQL”
The Basics of Data Manipulation
ATS Application Programming: Java Programming
“Introduction To Database and SQL”
DATABASE MANAGEMENT SYSTEM
The Basics of Data Manipulation
SQL Queries Chapter No 3.
SQL .. An overview lecture3.
Understanding Core Database Concepts
Presentation transcript:

 Review HW #4  Answer questions about Microsoft Visio  Introduce SQL  Introduce SQL Server 2008 environment for programming SQL  Will meet in AB208 (computer lab) for class on 2/16. Remember whether you are 9:30AM or 11AM?? 1

 SQL (structured query language) is a non-procedural language designed to process data.  Data processing operations include: ◦ Creating tables ◦ Create and enforcing constraints ◦ Adding, changing, deleting data ◦ Accessing data (either through single rows or aggregation)  SQL is an ANSI (American National Standards Institute) standard language 2

 A front-end programming tool  Does not: ◦ Make pretty output (forms/reports) ◦ Make pretty websites ◦ Make anything pretty for users to look at!! ◦ Do extensive calculations ◦ Do statistical calculations 3

 All commands are considered to be “queries”  Any command acts upon the database: ◦ creating database objects, ◦ altering (changing) database objects, ◦ adding/deleting/changing data inside a database object, ◦ looking at data inside a database object.  Operates with an implied loop; no explicit loops. The programmer has no control over the execution of the loop, so it is important to understand the implied loop. 4

5 Data Definition Commands (DDL) Data Manipulation Commands (DML) Data Control Commands (DCL) CREATEINSERTGRANT ALTERUPDATEREVOKE DROPDELETECOMMIT TRUNCATEROLLBACK SELECTSET TRANSACTION

 SQL statements start with a command, and then include few or many modifiers/extensions for the command.  SQL statements are not case sensitive.  Can span more than one physical line; it is a free form language.  SQL keywords cannot be abbreviated or split across lines. 6

 Keywords and/or main clauses are typically placed on separate lines.  Tabs and indentation are used to enhance readability.  Keywords are typically aligned in the first column.  Keywords are usually capitalized.  Data are usually in lowercase or a combination of uppercase and lowercase.  Comments are included sparingly, but usefully. 7

8 CREATE TABLE tblEmployee (EmployeeIDCHAR(5)PRIMARY KEY, LastNameVARCHAR(30), BillingRateMONEY);