SlideShare a Scribd company logo
1 of 6
‫الرحي‬ ‫الرحمن‬ ‫هللا‬ ‫بسم‬‫م‬
ENG  ELSAYED ALI
ELSAYED
Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬
-SELECT ‫االستعالمات‬
‫االستعال‬ ‫هى‬ ‫انما‬ ‫بيانات‬ ‫حذف‬ ‫او‬ ‫ادخال‬ ‫او‬ ‫تعديل‬ ‫الغرض‬ ‫ليس‬‫م‬
‫البيانات‬ ‫قاعدة‬ ‫فى‬ ‫معينه‬ ‫بيانات‬ ‫عن‬
‫العامه‬ ‫الصيغة‬:
Select (‫اكثر‬ ‫او‬ ‫)حقل‬ from (‫اكثر‬ ‫او‬ ‫)جدول‬
Where (‫اكثر‬ ‫او‬ ‫)شرط‬
Order by ( ‫اكثر‬ ‫او‬ ‫)حقل‬ ( ASC - DESC)
Grouped by ( ‫اكثر‬ ‫او‬ ‫)حقل‬
Limit ‫بدايه‬ , ‫العدد‬ ;
SELECT * FROM STUDENT WHERE STUD_ID=‘2’ ;
Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬
-Example 1
SELECT * FROM STUDENT ;
Stud_id Stud_name Dept_id Case_id
1 AHMED 211 1
2 ALI 210 2
3 IBRAHIM 211 1
‫كل‬
‫محتويات‬
‫الجدول‬
Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬
-Example 1
SELECT stud_name FROM STUDENT ;
Stud_id Stud_name Dept_id Case_id
1 AHMED 211 1
2 ALI 210 2
3 IBRAHIM 211 1
‫محتويات‬ ‫كل‬
‫العمود‬
Stud_name
Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬
-Example 2
SELECT stud_name FROM STUDENT where stud_id=2 ;
Stud_id Stud_name Dept_id Case_id
1 AHMED 211 1
2 ALI 210 2
3 IBRAHIM 211 1
Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬
-Example 3
SELECT stud_name FROM STUDENT where dept_id=211 ;
Stud_id Stud_name Dept_id Case_id
1 AHMED 211 1
2 ALI 210 2
3 IBRAHIM 211 1

More Related Content

Viewers also liked

35 TEAR ANNIVERSARY
35 TEAR ANNIVERSARY35 TEAR ANNIVERSARY
35 TEAR ANNIVERSARYAgni English
 
Llamado Comunicación Indígena-Ley Telecom
Llamado Comunicación Indígena-Ley TelecomLlamado Comunicación Indígena-Ley Telecom
Llamado Comunicación Indígena-Ley TelecomErick Huerta
 
Tarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.ppt
Tarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.pptTarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.ppt
Tarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.pptJavier Guerrero
 
Ambientes educativos
Ambientes educativosAmbientes educativos
Ambientes educativos21fri08da95
 
Industrialisasi kp summary 20 februari 2012
Industrialisasi kp summary 20 februari 2012Industrialisasi kp summary 20 februari 2012
Industrialisasi kp summary 20 februari 2012Sunoto Sunoto
 
Primeira Guerra Mundial (1914-1918)
Primeira Guerra Mundial (1914-1918)Primeira Guerra Mundial (1914-1918)
Primeira Guerra Mundial (1914-1918)Privada
 
One of the many Recipes
One of the many RecipesOne of the many Recipes
One of the many RecipesJawwad Zaidi
 
03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y Julio
03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y Julio03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y Julio
03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y JulioModaClub
 
Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...
Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...
Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...SPTechCon
 
La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de
La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de
La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de funnyaccountant76
 
Bao cáo tom tat qhtt nganh thuy san
Bao cáo tom tat qhtt nganh thuy sanBao cáo tom tat qhtt nganh thuy san
Bao cáo tom tat qhtt nganh thuy sanNgoc Quyen Pham
 

Viewers also liked (13)

35 TEAR ANNIVERSARY
35 TEAR ANNIVERSARY35 TEAR ANNIVERSARY
35 TEAR ANNIVERSARY
 
Llamado Comunicación Indígena-Ley Telecom
Llamado Comunicación Indígena-Ley TelecomLlamado Comunicación Indígena-Ley Telecom
Llamado Comunicación Indígena-Ley Telecom
 
Diapositiva teoria
Diapositiva teoriaDiapositiva teoria
Diapositiva teoria
 
Mysql 1
Mysql 1Mysql 1
Mysql 1
 
Tarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.ppt
Tarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.pptTarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.ppt
Tarea 01 mapa_normas_javier a guerrero v 17429851 grupo 13_a.ppt
 
Ambientes educativos
Ambientes educativosAmbientes educativos
Ambientes educativos
 
Industrialisasi kp summary 20 februari 2012
Industrialisasi kp summary 20 februari 2012Industrialisasi kp summary 20 februari 2012
Industrialisasi kp summary 20 februari 2012
 
Primeira Guerra Mundial (1914-1918)
Primeira Guerra Mundial (1914-1918)Primeira Guerra Mundial (1914-1918)
Primeira Guerra Mundial (1914-1918)
 
One of the many Recipes
One of the many RecipesOne of the many Recipes
One of the many Recipes
 
03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y Julio
03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y Julio03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y Julio
03 Catalogo Moda Club Ofertas 2014 Liquidacion Junio y Julio
 
Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...
Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...
Tutorial: Business Intelligence: Making the Right Choices by Peter Serzo - SP...
 
La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de
La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de
La Perte de Poids Cure, Ils Ne Veulent pas que Vous sachiez a Propos de
 
Bao cáo tom tat qhtt nganh thuy san
Bao cáo tom tat qhtt nganh thuy sanBao cáo tom tat qhtt nganh thuy san
Bao cáo tom tat qhtt nganh thuy san
 

Mysql 3

  • 1. ‫الرحي‬ ‫الرحمن‬ ‫هللا‬ ‫بسم‬‫م‬ ENG ELSAYED ALI ELSAYED
  • 2. Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬ -SELECT ‫االستعالمات‬ ‫االستعال‬ ‫هى‬ ‫انما‬ ‫بيانات‬ ‫حذف‬ ‫او‬ ‫ادخال‬ ‫او‬ ‫تعديل‬ ‫الغرض‬ ‫ليس‬‫م‬ ‫البيانات‬ ‫قاعدة‬ ‫فى‬ ‫معينه‬ ‫بيانات‬ ‫عن‬ ‫العامه‬ ‫الصيغة‬: Select (‫اكثر‬ ‫او‬ ‫)حقل‬ from (‫اكثر‬ ‫او‬ ‫)جدول‬ Where (‫اكثر‬ ‫او‬ ‫)شرط‬ Order by ( ‫اكثر‬ ‫او‬ ‫)حقل‬ ( ASC - DESC) Grouped by ( ‫اكثر‬ ‫او‬ ‫)حقل‬ Limit ‫بدايه‬ , ‫العدد‬ ; SELECT * FROM STUDENT WHERE STUD_ID=‘2’ ;
  • 3. Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬ -Example 1 SELECT * FROM STUDENT ; Stud_id Stud_name Dept_id Case_id 1 AHMED 211 1 2 ALI 210 2 3 IBRAHIM 211 1 ‫كل‬ ‫محتويات‬ ‫الجدول‬
  • 4. Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬ -Example 1 SELECT stud_name FROM STUDENT ; Stud_id Stud_name Dept_id Case_id 1 AHMED 211 1 2 ALI 210 2 3 IBRAHIM 211 1 ‫محتويات‬ ‫كل‬ ‫العمود‬ Stud_name
  • 5. Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬ -Example 2 SELECT stud_name FROM STUDENT where stud_id=2 ; Stud_id Stud_name Dept_id Case_id 1 AHMED 211 1 2 ALI 210 2 3 IBRAHIM 211 1
  • 6. Data Control Language (DCL). ‫البيانات‬ ‫التحكم‬ ‫أوامر‬ -Example 3 SELECT stud_name FROM STUDENT where dept_id=211 ; Stud_id Stud_name Dept_id Case_id 1 AHMED 211 1 2 ALI 210 2 3 IBRAHIM 211 1