GROUP MEMBERSADIL SHAKIRHAMMAD YOUSAFAMMAR YASIR 			HASEEB KHALIDAWAIS AFTAB BUTTMUDDASIR ABIDBILAL AHMED MOHAMMED IMRANFAIZA KHALID RAAZIA IRSHADHAMMAD RASHEED ZULQARNAIN BAJWA
PrEsEnTeRsHammadBilalAwais
ID : 05
IntroductionA business need
Database“An organized collection of information”OR “Set of tables each having different class of data.”
Structured Query Language ( SQL ) A language to communicate with the database
A tool to retrieve the required information from database
Elements
Syntax of SQL is in plain English
To question the databaseWhat SQL can do?With SQL you can:1. Execute queries against a database2. Perform  CRUD function:CREATE       New databasesNew tables in a database	  Records in a databaseREAD          Retrieve data from a database
UPDATE      Update Records in a database
DELETE         Delete Records from a database
Pre-requisites for SQLRelational Database
Tables
Fields
Records
Different Relationships
1-1
1-m SYNTAXStatementTable NameConditionSELECT CustomerName, City, Country  FROM Customer  WHERE Country=‘USA’ColumnsFROM ClauseWHERE ClauseSELECT Clause
ID : 11
QUERIES
SQL Queries

SQL Basics