Soumettre la recherche
Mettre en ligne
Lecture5-SQL.docx
•
Télécharger en tant que DOCX, PDF
•
0 j'aime
•
493 vues
I
ismailaboshatra
Suivre
Signaler
Partager
Signaler
Partager
1 sur 6
Télécharger maintenant
Recommandé
Mysql Crud, Php Mysql, php, sql
Mysql Crud, Php Mysql, php, sql
Aimal Miakhel
Chapter 07 ddl_sql
Chapter 07 ddl_sql
Nazir Ahmed
Chapter 4 Structured Query Language
Chapter 4 Structured Query Language
Eddyzulham Mahluzydde
Oracle: Basic SQL
Oracle: Basic SQL
DataminingTools Inc
SQL Tutorial - Basic Commands
SQL Tutorial - Basic Commands
1keydata
Creating database using sql commands
Creating database using sql commands
Belle Wx
Sql basic things
Sql basic things
Nishil Jain
Introduction to SQL
Introduction to SQL
Ehsan Hamzei
Recommandé
Mysql Crud, Php Mysql, php, sql
Mysql Crud, Php Mysql, php, sql
Aimal Miakhel
Chapter 07 ddl_sql
Chapter 07 ddl_sql
Nazir Ahmed
Chapter 4 Structured Query Language
Chapter 4 Structured Query Language
Eddyzulham Mahluzydde
Oracle: Basic SQL
Oracle: Basic SQL
DataminingTools Inc
SQL Tutorial - Basic Commands
SQL Tutorial - Basic Commands
1keydata
Creating database using sql commands
Creating database using sql commands
Belle Wx
Sql basic things
Sql basic things
Nishil Jain
Introduction to SQL
Introduction to SQL
Ehsan Hamzei
Introduction to (sql)
Introduction to (sql)
Dattatray Ghorpade
Advanced Sql Training
Advanced Sql Training
bixxman
SQL - Structured query language introduction
SQL - Structured query language introduction
Smriti Jain
Sql basics
Sql basics
Genesis Omo
Database Architecture and Basic Concepts
Database Architecture and Basic Concepts
Tony Wong
Data Manipulation(DML) and Transaction Control (TCL)
Data Manipulation(DML) and Transaction Control (TCL)
MuhammadWaheed44
intro for sql
intro for sql
mahmoud mones
Session 8 connect your universal application with database .. builders & deve...
Session 8 connect your universal application with database .. builders & deve...
Moatasim Magdy
Introduction to-sql
Introduction to-sql
BG Java EE Course
Sql tutorial
Sql tutorial
Rumman Ansari
SQL Commands
SQL Commands
Sachidananda M H
PHP mysql Sql
PHP mysql Sql
Mudasir Syed
Sql Basics And Advanced
Sql Basics And Advanced
rainynovember12
Sql server T-sql basics ppt-3
Sql server T-sql basics ppt-3
Vibrant Technologies & Computers
SQL Overview
SQL Overview
Stewart Rogers
Introduction to database
Introduction to database
Pongsakorn U-chupala
Sql intro & ddl 1
Sql intro & ddl 1
Dr. C.V. Suresh Babu
Sql operator
Sql operator
Pooja Dixit
Agile Data concept introduction
Agile Data concept introduction
Romans Malinovskis
SQL for interview
SQL for interview
Aditya Kumar Tripathy
MYSQL.ppt
MYSQL.ppt
webhostingguy
Sql 2006
Sql 2006
Cathie101
Contenu connexe
Tendances
Introduction to (sql)
Introduction to (sql)
Dattatray Ghorpade
Advanced Sql Training
Advanced Sql Training
bixxman
SQL - Structured query language introduction
SQL - Structured query language introduction
Smriti Jain
Sql basics
Sql basics
Genesis Omo
Database Architecture and Basic Concepts
Database Architecture and Basic Concepts
Tony Wong
Data Manipulation(DML) and Transaction Control (TCL)
Data Manipulation(DML) and Transaction Control (TCL)
MuhammadWaheed44
intro for sql
intro for sql
mahmoud mones
Session 8 connect your universal application with database .. builders & deve...
Session 8 connect your universal application with database .. builders & deve...
Moatasim Magdy
Introduction to-sql
Introduction to-sql
BG Java EE Course
Sql tutorial
Sql tutorial
Rumman Ansari
SQL Commands
SQL Commands
Sachidananda M H
PHP mysql Sql
PHP mysql Sql
Mudasir Syed
Sql Basics And Advanced
Sql Basics And Advanced
rainynovember12
Sql server T-sql basics ppt-3
Sql server T-sql basics ppt-3
Vibrant Technologies & Computers
SQL Overview
SQL Overview
Stewart Rogers
Introduction to database
Introduction to database
Pongsakorn U-chupala
Sql intro & ddl 1
Sql intro & ddl 1
Dr. C.V. Suresh Babu
Sql operator
Sql operator
Pooja Dixit
Agile Data concept introduction
Agile Data concept introduction
Romans Malinovskis
SQL for interview
SQL for interview
Aditya Kumar Tripathy
Tendances
(20)
Introduction to (sql)
Introduction to (sql)
Advanced Sql Training
Advanced Sql Training
SQL - Structured query language introduction
SQL - Structured query language introduction
Sql basics
Sql basics
Database Architecture and Basic Concepts
Database Architecture and Basic Concepts
Data Manipulation(DML) and Transaction Control (TCL)
Data Manipulation(DML) and Transaction Control (TCL)
intro for sql
intro for sql
Session 8 connect your universal application with database .. builders & deve...
Session 8 connect your universal application with database .. builders & deve...
Introduction to-sql
Introduction to-sql
Sql tutorial
Sql tutorial
SQL Commands
SQL Commands
PHP mysql Sql
PHP mysql Sql
Sql Basics And Advanced
Sql Basics And Advanced
Sql server T-sql basics ppt-3
Sql server T-sql basics ppt-3
SQL Overview
SQL Overview
Introduction to database
Introduction to database
Sql intro & ddl 1
Sql intro & ddl 1
Sql operator
Sql operator
Agile Data concept introduction
Agile Data concept introduction
SQL for interview
SQL for interview
Similaire à Lecture5-SQL.docx
MYSQL.ppt
MYSQL.ppt
webhostingguy
Sql 2006
Sql 2006
Cathie101
Db1 lecture4
Db1 lecture4
Sherif Gad
SQL Queries Information
SQL Queries Information
Nishant Munjal
1670595076250.pdf
1670595076250.pdf
GaneshR321894
Cheat sheet SQL commands with examples and easy understanding
Cheat sheet SQL commands with examples and easy understanding
VivekanandaGN1
SQL 🌟🌟🔥.pdf
SQL 🌟🌟🔥.pdf
LightWolf2
SQL learning notes and all code.pdf
SQL learning notes and all code.pdf
79TarannumMulla
PT- Oracle session01
PT- Oracle session01
Karthik Venkatachalam
Dbms
Dbms
Sachin Yadav
Lab
Lab
neelam_rawat
JDBC
JDBC
Sunil OS
Accessing data with android cursors
Accessing data with android cursors
info_zybotech
Accessing data with android cursors
Accessing data with android cursors
info_zybotech
Oracle notes
Oracle notes
Prashant Dadmode
SQLSlide
SQLSlide
OrtonRandyandy34534
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SabrinaShanta2
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SaiMiryala1
Sql General
Sql General
Praveen Tiwari
SQL Basics
SQL Basics
osama majid
Similaire à Lecture5-SQL.docx
(20)
MYSQL.ppt
MYSQL.ppt
Sql 2006
Sql 2006
Db1 lecture4
Db1 lecture4
SQL Queries Information
SQL Queries Information
1670595076250.pdf
1670595076250.pdf
Cheat sheet SQL commands with examples and easy understanding
Cheat sheet SQL commands with examples and easy understanding
SQL 🌟🌟🔥.pdf
SQL 🌟🌟🔥.pdf
SQL learning notes and all code.pdf
SQL learning notes and all code.pdf
PT- Oracle session01
PT- Oracle session01
Dbms
Dbms
Lab
Lab
JDBC
JDBC
Accessing data with android cursors
Accessing data with android cursors
Accessing data with android cursors
Accessing data with android cursors
Oracle notes
Oracle notes
SQLSlide
SQLSlide
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
Sql General
Sql General
SQL Basics
SQL Basics
Plus de ismailaboshatra
fatma.docx
fatma.docx
ismailaboshatra
Call+for+Papers+2011.pdf
Call+for+Papers+2011.pdf
ismailaboshatra
d.docx
d.docx
ismailaboshatra
d.docx
d.docx
ismailaboshatra
d.docx
d.docx
ismailaboshatra
d.docx
d.docx
ismailaboshatra
d.docx
d.docx
ismailaboshatra
d.docx
d.docx
ismailaboshatra
d.docx
d.docx
ismailaboshatra
d.docx
d.docx
ismailaboshatra
dt.docx
dt.docx
ismailaboshatra
dt.docx
dt.docx
ismailaboshatra
dt.docx
dt.docx
ismailaboshatra
Answers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docx
ismailaboshatra
Answers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docx
ismailaboshatra
lec1.docx
lec1.docx
ismailaboshatra
lec4.docx
lec4.docx
ismailaboshatra
QM17025+Rev0.1-05May2011.doc
QM17025+Rev0.1-05May2011.doc
ismailaboshatra
lec2.docx
lec2.docx
ismailaboshatra
lec5+.docx
lec5+.docx
ismailaboshatra
Plus de ismailaboshatra
(20)
fatma.docx
fatma.docx
Call+for+Papers+2011.pdf
Call+for+Papers+2011.pdf
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
d.docx
dt.docx
dt.docx
dt.docx
dt.docx
dt.docx
dt.docx
Answers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docx
lec1.docx
lec1.docx
lec4.docx
lec4.docx
QM17025+Rev0.1-05May2011.doc
QM17025+Rev0.1-05May2011.doc
lec2.docx
lec2.docx
lec5+.docx
lec5+.docx
Lecture5-SQL.docx
1.
2.
SQL “Structure Query
Language”
3.
Database Schema.
4.
Data types.
5.
Database constraints.
6.
DDL (Data Definition
Language)
7.
Create
8.
Alter
9.
Drop
10.
Truncate
11.
DML (Data Manipulation
Language)
12.
Insert
13.
Update
14.
Delete
15.
Transaction Control (Commit
– Rollback)
16.
Data Retrieval (SELECT)
17.
Queries (SELECT statement).
18.
Select from on
table.
19.
Distinct keyword.
20.
Derived Field.
21.
Column alias.
22.
Where clause.
23.
24.
Data Definition Language
(DDL).
25.
Data Manipulation Language
(DML).
26.
Data Control Language
(DCL).
27.
28.
Not Null
29.
Primary Key
30.
Unique Key
31.
Referential Integrity (
FK )
32.
Check
33.
DDL (Data Definition
Language)
34.
Create Table
35.
CREATE TABLE customer(ID
int (15) Not Null,
36.
First_Name char(50),Last_Name char(50),Address
char(50),City char(50),Country char(25),Birth_Date date),
37.
Primary Key (ID));
38.
Alter Table
39.
ALTER TABLE
customer
40.
ADD(Telchar(7));
41.
ALTER TABLE
customer
42.
DROP COLUMN
Country;
43.
Drop Table:
Remove table structure and all its data.
44.
DROP TABLE customer;
45.
Truncate Table:
Remove All Rows in the table.
46.
TRUNCATE TABLE
customer;
47.
DML (Data Manipulation
Language)
48.
Insert
49.
INSERT INTO Customers
50.
VALUES ( 10,
‘Saleh’, ‘Ahmed', ‘Moharam bak', ‘Alex.' , ’Egypt’ , ‘01/10/1975’));
51.
INSERT INTO Persons
(ID, First_Name, City)
52.
VALUES (20, ‘Hassan',
‘Assuit');
53.
Update
54.
UPDATE customer
55.
SET city =
‘Cairo’; /* this statement will update all rows of the table*/
56.
UPDATE customer
57.
SET city =
‘Cairo’
58.
WHERE id
= 10;
59.
UPDATE customer
60.
SET city =
‘Cairo’, Country = ‘Egypt’
61.
WHERE id =
10; /* Update several columns in certain row*/
62.
Delete
63.
DELETE
FROM customer;
64.
/* This statement
will Delete all rows of the table*/
65.
DELETE
FROM customer
66.
WHERE id =
10; /* Delete one record only*/
67.
Data Retrieval (SELECT)
68.
Select <Attribute list
>
69.
From < Table
list>
70.
Where <Condition>
71.
Group By <Expression>
72.
Select from one
table
73.
SELECT *
74.
FROMcustomers;
75.
SELECT id, first_name
, city
76.
FROMcustomers;
77.
Distinct keyword
78.
SELECT distinct city
79.
FROMcustomers;
80.
Derived Field
81.
SELECT salary *
1.7
82.
FROMemployees;
83.
Column alias
84.
SELECT salary *
1.7 “Raised salary”
85.
FROMemployees;
86.
87.
FROM customers
88.
WHERE city =
‘Alex’;
89.
90.
SELECT *
91.
FROM customers
92.
ORDER BY First_Name
;
93.
/*This means sort
by first name in Ascending order*/
94.
SELECT *
95.
FROM customers
96.
ORDER BY First_Name
, Last_Name DESC ;
97.
/*This means sort
by first name in Ascending order and Last_name in Descending order*/
Télécharger maintenant