--查詢(搜尋資料表 TableA 內所有資料)
select * from TableA

--新增一筆資料
insert into TableA (
student_name,student_email) values ('jojo','jojo@kiki.com')

--修改(修改資料,並指定只修改 student_id = '9' 的這一筆資料)
update TableA set

student_name='Judy_cheng'
,
student_email='Judy_cheng@wowo.com.tw'
where student_
id='9'

--刪除(刪除 TableA 內編號='1'的這一筆資料)
delete TableA where id='1'


arrow
arrow

    Roger 發表在 痞客邦 留言(0) 人氣()