Upload
prasunjeet-soni
View
197
Download
0
Tags:
Embed Size (px)
Citation preview
SQL or SEQUEL both are same.SQL is a
short form SEQUEL and it is pronounced
as “ess-que-el”.
SQL stands for “Structured Query
Language”.
SQL is used to communicate with a
database.SQL is the standard language
for Relational Database Management
System.
February 22, 2012 2SSMV,BHILAI
Some relational database management
system that usages SQL i.e. ORACLE ,
SYBASE , MICROSOFT SQL SERVER ,
ACCESS , INGRES etc.
SQL commands such as “SELECT”,
“INSERT”, “CREATE”, “ALTER”, “UPDATE” &
“DROP” can be used to accomplish
almost everything that one needs to do
with a database.
February 22, 2012 3SSMV,BHILAI
DDL(Data Definition Language) :- It is used to create , sets up , changes existing rows & remove unwanted rows from columns collectively.
DDL Command :- “CREATE”,“ALTER”,“DROP”, “RENAME”,“TRUNCATE” .
DML(Data Manipulation Language) :- Enter a new row , existing changes in existing row and remove unwanted rows from the table collectively known as DML commands
DML Commands :- “INSERT”,“UPDATE”, “DELETE”.
February 22, 2012 4SSMV,BHILAI
DCL(Data Control Language) :- To give and remove access rights to oracle database and structure with in it collectively known as DCL.
DCL Commands :- “GRANT”,“REVOKE”.
TCL(Transaction Control Language) :- It manages changes made grouped together into logical transaction positions of data can be ROLLBACK to particular SAVEPOINT.
TCL Commands :-“COMMIT”,“ROLLBACK”,“SAVEPOINT”.
February 22, 2012 5SSMV,BHILAI
DQL(Data Query Language) :- It is used to retrieve
data from database on the basis of query written
using DQL command.
DQL Command :- “SELECT”.
February 22, 2012 6SSMV,BHILAI
ORACLE 8i
ORACLE 9i
ORACLE 10g
ORACLE 11g
February 22, 2012 7SSMV,BHILAI
Definition :- A database is collection of related data. Records can be represented in form of tables.
Exp :- Student fee record, employee record etc.
DataBase Management System :- It is a collection of s/w that facilitates the process of defining , constructing , manipulating & sharing database among various users.
February 22, 2012 8SSMV,BHILAI
To control redundancy.
To restrict unauthorized access.
To provide multiple user interface.
To representing complex relationship
among data.
To permits inference and action using
rules.
To provide backup and recovery.
February 22, 2012 9SSMV,BHILAI
APPLICATION
AREAS
Banking
Airlines
Universitie
s
Credit
card
transactio
ns
Tele-
communi
cations
Finance
Sales
Manufact
uring
Human
Resources
February 22, 2012 10SSMV,BHILAI
BANKING :-For customer information , account , loans and banking transactions.
AIRLINES :-For reservation and schedule
information. Airlines were amount the first to
use databases in geographically distribute.
UNIVERSITIES :-For student information , course
registration and grades.
CREDIT CARD TRANSACTIONS :-For purchases on credit cards & generation of monthly
statements.
February 22, 2012 11SSMV,BHILAI
FINANCE :- For storing information about holdings , sales & purchases of financial instruments such as stocks and bonds.
SALES :- For customer , product and purchase information.
MANUFACTURING :- For management of supply chain & for tracking productions of items in factories , inventories of items in stores and orders for items.
HUMAN RESOURCES :- For information about employees , salaries , payroll & benefits and for generation of pay checks.
February 22, 2012 12SSMV,BHILAI
TELECOMMUNICATION:- For keeping records of calls made , generating monthly bills ,
maintaining balances or prepaid calling cards
and storing information about the
communication network.
February 22, 2012 13SSMV,BHILAI
February 22, 2012 14SSMV,BHILAI