专业技术初级资格程序员基础知识DB2
题目内容

If a table named MY_TAB contains 100 rows and the following statement is executed:  DELETE FROM   (SELECT * FROM my_tab   ORDER BY col1 DESC   FETCH FIRST 5 ROWS ONLY) AS tmp; What will happen、

2024-07-09

A.The last 5 rows in the table will be deleted.

B.The first 5 rows in the table will be deleted.

C.The statement will fail because a subquery cannot be used with a DELETE statement.

D.The statement will fail because a table name was not specified with the DELETE statement.

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端