SlideShare ist ein Scribd-Unternehmen logo
1 von 18
L o g o
Lesson 5
JSP & SQL
L o g o
Select query
L o g o
Select query
Select query
Update query
Insert query
Delete query
SQL
L o g o
Select query
Select
Select
FROM
Select
Select
L o g o
Select query
Query)
Query”
Transaction – SQL
1. SELECT *
FROM
Table name
Select
Syntax :
SELECT *FROM <table name>
EXAMPLE
L o g o
1.SELECT
2.column 1 , column 2, …
3.FROM
4.table name
Syntax :
SELECT < column 1 , column 2 , …> FROM < table name >
EXAMPLE
L o g o
Select query
Form Insert
L o g o
Select query
L o g o
Select query
SQL people
ResultSet rs
L o g o
Select query
if
rs
L o g o
Select query
L o g o
Select query
Navicat Premium
New Database
L o g o
Select query
utf8
L o g o
Select ( )
New Table
L o g o
Select ( )
people
L o g o
Select query
Database
From
L o g o
Select query
L o g o
C l i c k t o e d i t c o m p a n y s l o g a n .

Weitere ähnliche Inhalte

Andere mochten auch

Sec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปร
Sec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปรSec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปร
Sec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปร
เจ้าพ่อ มาเฟีย
 
12 02 27_actividades_alumni_uandes_2012
12 02 27_actividades_alumni_uandes_201212 02 27_actividades_alumni_uandes_2012
12 02 27_actividades_alumni_uandes_2012
alumniUANDES
 
Pagina web en css
Pagina web en cssPagina web en css
Pagina web en css
nelson4409
 

Andere mochten auch (8)

Sec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปร
Sec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปรSec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปร
Sec.1 กลุ่ม 1 เรื่องการสร้างแบบฟอร์มและการส งค าต_วแปร
 
Lesson4
Lesson4Lesson4
Lesson4
 
Lesson2
Lesson2Lesson2
Lesson2
 
1
11
1
 
12 02 27_actividades_alumni_uandes_2012
12 02 27_actividades_alumni_uandes_201212 02 27_actividades_alumni_uandes_2012
12 02 27_actividades_alumni_uandes_2012
 
Pagina web en css
Pagina web en cssPagina web en css
Pagina web en css
 
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post FormatsThe Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
 

Ähnlich wie Lesson5 (7)

Language Integrated Query By Nyros Developer
Language Integrated Query By Nyros DeveloperLanguage Integrated Query By Nyros Developer
Language Integrated Query By Nyros Developer
 
Sql
SqlSql
Sql
 
Sql
SqlSql
Sql
 
PostgreSQL 8.4 TriLUG 2009-11-12
PostgreSQL 8.4 TriLUG 2009-11-12PostgreSQL 8.4 TriLUG 2009-11-12
PostgreSQL 8.4 TriLUG 2009-11-12
 
Sap query for task list data extraction
Sap query for task list data extractionSap query for task list data extraction
Sap query for task list data extraction
 
DataBase Management System Lab File
DataBase Management System Lab FileDataBase Management System Lab File
DataBase Management System Lab File
 
Chapter-5.ppt
Chapter-5.pptChapter-5.ppt
Chapter-5.ppt
 

Lesson5

  • 1. L o g o Lesson 5 JSP & SQL
  • 2. L o g o Select query
  • 3. L o g o Select query Select query Update query Insert query Delete query SQL
  • 4. L o g o Select query Select Select FROM Select Select
  • 5. L o g o Select query Query) Query” Transaction – SQL 1. SELECT * FROM Table name Select Syntax : SELECT *FROM <table name> EXAMPLE
  • 6. L o g o 1.SELECT 2.column 1 , column 2, … 3.FROM 4.table name Syntax : SELECT < column 1 , column 2 , …> FROM < table name > EXAMPLE
  • 7. L o g o Select query Form Insert
  • 8. L o g o Select query
  • 9. L o g o Select query SQL people ResultSet rs
  • 10. L o g o Select query if rs
  • 11. L o g o Select query
  • 12. L o g o Select query Navicat Premium New Database
  • 13. L o g o Select query utf8
  • 14. L o g o Select ( ) New Table
  • 15. L o g o Select ( ) people
  • 16. L o g o Select query Database From
  • 17. L o g o Select query
  • 18. L o g o C l i c k t o e d i t c o m p a n y s l o g a n .