1) What keyword isused in SQl to retrieve data from a database? a) GET b) SELECT c) SEARCH d) RETURN 2) Which SQL clause is used to filter records? a) GROUP BY b) ORDER BY c) WHERE d) HAVING 3) What SQl clause is used to sort the result set in ascending order? a) ASC b) DESC c) SORT d) ORDER 4) In SQL , what is the purpose of the JOIN clause? a) TO FILTER RECORDS b) TO GROUP RECORDS c) TO COMBINE ROWS FROM TWO OR MORE TABLES d) TO SORT THE RESULT SET 5) Which SQL command is used to make changes to an existing database table? a) EDIT TABLE b) MODIFY TABLE c) UPDATE TABLE d) ALTER TABLE 6) What is the SQL keyword used to retrieve unique rows from a table a) ONLY b) DISTINCT c) UNIQUE d) SINGLE 7) Which operator is used in SQL to compare values? a) & b) <> c) II d) = 8) What SQl statement is used to delete data from a database? a) DELETE b) ERASE c) REMOVE d) TRUNCATE 9) In SQL, what clause is used to specify a specific condition while retrieving data? a) SORTY BY b) PICK c) WHERE d) CLARIFY 10) Which SQL command is used to add new rows to a table? a) ADD RECORD b) INSERT INTO c) CREATE ROW d) APPEND ROW 11) What SQL statement is used to retieve data from more than one table? a) REUNITE b) MERGE c) JOIN d) COMBINE 12) In SQL, which command is used to make a temporary copy oF a database table? a) CLONE b) COPY c) REPLIATE d) CREATE 13) What SQL clause is used to count the number of rows in a table? a) COUNT b) SUM c) TOTAL d) CALCULATE 14) What SQL operator is used to match a certain pattern. a) LIKE b) APPROX c) MATCH d) SIMILAR 15) Which SQL command is used to retrieve all records from a table? a) FETCH ALL b) GET ALL c) SELECT * d) SHOW ALL 16) Which SQL statement is used to update existing records in a table? a) MODIFY b) CHANGE c) UPDATE d) SAVE 17) In SQL, which command is used to remove a table from the database? a) DROP TABLE b) DELETE TABLE c) REMOVE TABLE d) ERASE TABLE 18) What keyword is used in SEL to retrive data from multiple tables based on a related column between them? a) TOGETHER b) LINK c) RELATE d) JOIN 19) Which SQL clause is used to restrict the number of rows returned? a) LIMIT b) HIDE c) SHRINK d) TRUNCATE 20) What SQL command is used to change the structure of a table? a) RESTRUCTURE b) RESHAPE c) MODIFY d) ALTER
0%
SQL Commands Exam
共用
共用
共用
由
Tashamabry
G10
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
問答遊戲
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?