นำเสนอ การจัดการฐานข้อมูล

13

Upload: got-lattavit

Post on 02-Jul-2015

177 views

Category:

Lifestyle


1 download

TRANSCRIPT

MySQL, MsSQL, PostgreSQLMS Access

MySQL

SQL

Select query

Update query

Insert query

Select From Where

Group by

Select fmane,lname From stdinfofname

lnamestdinfo2. Select fname,lname From stdinfo Where programe=”

stdinfoSelect fname From stdinfo Where fname

Like „

Select id,fname,lname From stdinfo Where id=”001” AND id=”005”

WHERE

NOT < > =

-

Like

widecard

COUNT,SUM,AVG.MIN,MAX

Select Count(id) From stdinfo

stdinfo

id) , fname),

lname)

substd

subject), rid) ,

teacher)

Update Set [Where

Select stdinfo Set programe=‟Where Fname=‟ and Lname=‟

Insert Into Values [ , …]

Insert into stdinfo(id,fname,lname,programe) Values („007‟,‟

Delete From Where

Delete From stdinfo Where id=‟005‟

My SQL (SQL. MySQL

MySQL AB MySQL

MySQLDavid Axmark, Allan Larsson

Michael “Monty” Widenius.Sun

Microsystems, Inc.) MySQL AB

MySQL AB

My SQL phpBB

PHP

MySQL PHP

MySQL

API ODBC database connector)

1) 5

2) 6

3) 7

4)33

5) 34

6)35

5 3