• Post author:
  • Post category:Blog
  • Reading time:2 mins read
  • Post last modified:June 12, 2024

Which three are valid SQL commands? (Choose three.)

  • SELECT
  • UPDATE
  • DESTROY
  • ALTER
  • MODIFY
Explanation & Hint:

The three valid SQL commands among the options provided are:

  1. SELECT: This command is used to select data from a database. It retrieves data from one or more tables.
  2. UPDATE: This command is used to update existing data within a table in a database.
  3. ALTER: This command is used to modify the structure of a database. This could include adding, deleting, or modifying columns in a table.

“DESTROY” and “MODIFY” are not standard SQL commands. “MODIFY” might be confused with “ALTER TABLE… MODIFY”, which is a clause used in some SQL dialects (like MySQL) to change a column in a table, but on its own, “MODIFY” is not a standard SQL command.

For more Questions and Answers:

Threat Analysis Post-Assessment | CBROPS

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments