成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

刪除數(shù)據(jù)庫的SQL命令是 SQL語言中刪除數(shù)據(jù)庫表和刪除數(shù)據(jù)庫表中記錄分別使用什么命令?

SQL語言中刪除數(shù)據(jù)庫表和刪除數(shù)據(jù)庫表中記錄分別使用什么命令?1. Insert--1.1[Insert single line]Insert[into]< table name>(列名)值-

SQL語言中刪除數(shù)據(jù)庫表和刪除數(shù)據(jù)庫表中記錄分別使用什么命令?

1. Insert

--1.1[Insert single line]Insert[into]< table name>(列名)值--示例:Insert into strdents(name,gender,date of birth)值(“happy friends”,“male”,“1980/6/15”)。修改update< table name> set< column name=update value>[where< update condition>]-示例:update tongxunlu set age=18 where name=“small blue name”

3。Delete--3.1[刪除滿足條件的行]Delete from<;table name>[其中<;刪除條件>]—示例:Delete from a where name=“happy friends”(刪除表a中happy friends列值的行)3.2[刪除整表]truncate table<;table name> truncate table Tongxunlu--注意:Delete表的所有行,但不刪除表的結(jié)構(gòu)、列、約束、索引等;不能使用外部約束引用的表

工具/材料:Management Studio。

1. 首先,在桌面上,單擊“管理工作室”圖標(biāo)。

2. 然后,在接口中,確定要刪除的表和數(shù)據(jù)庫。

3. 其次,在界面中點擊“新建查詢”按鈕。

4. 繼續(xù)輸入SQL語句“drop table test”,刪除該界面中的整張表。

5. 此外,在界面中,點擊“執(zhí)行”按鈕。

6. 然后在此界面中,刪除測試表。

7. 繼續(xù)輸入SQL語句“drop database test2222”,刪除此接口中的整張表。

8. 此外,在界面中,點擊“執(zhí)行”按鈕。

9. 最后,在這個接口中,test2222數(shù)據(jù)庫被刪除。