单项选择题
TRUNCATE TABLE 和 DELETE TABLE的区别是()
A.TRUNCATE TABLE 删除数据后可以恢复,而DELETE 不可以恢复
B.TRUNCATE TABLE 删除数据后不可以恢复,而DELETE 可以恢复
C.两者删除数据过后都可以恢复
D.两者删除数据后都不可以恢复
相关考题
-
单项选择题
从authors 数据库中查询出所有au_id满足前2个字符为”72”,第四个字符为”-“的作家的姓名,下面哪一条语句满足条件()
A.select * from authors where au_id =”72_-%”
B.select au_id=72_-% from authors
C.select * from authors where au_id like “72*-%”
D.select * from authors where au_id like “72_-%” _代表任意一个字符 -
单项选择题
下面哪一条语句实现了下列功能:在authors数据库中查找所有姓名以d 打头的作家()
A. select * from authors where au_name=”d”
B. select “d” from authors
C. select * from authors where au_name like “d%”
D. select au_name like “d%” from authors -
单项选择题
select au_id from authors where price$ 20.下面哪一条语句与这一条语句执行效果相同()
A. select au_id from authors where price IN($15,:$20);
B. select au_id from authors where price between $15 and $20
C. select au_id from authors where price not between $15 and $20
D. select au_id from authors where price not IN($15,$20);
