157k views
2 votes
The DROP COLUMN clause of the ALTER TABLE command can be used to drop a maximum of ____________________ column(s) at a time.​

A) One
B) Two
C) Three
D) Four

User Kozlice
by
8.1k points

1 Answer

7 votes

Final answer:

The DROP COLUMN clause of the ALTER TABLE command is used to drop a maximum of one column at a time.

Step-by-step explanation:

The DROP COLUMN clause of the ALTER TABLE command can be used to drop a maximum of one column at a time. Answer option A) One is correct. Some database systems may allow dropping multiple columns in a single ALTER TABLE statement by specifying multiple DROP COLUMN clauses; however, in the strictest sense and as per ANSI SQL standards, the clause is typically used to drop one column at a time. It's essential to use this command with care, as dropping a column will result in the loss of all data stored in that column.

User Adam Leggett
by
8.9k points