ExamGecko
Question list
Search
Search

Question 283 - FC0-U61 discussion

Report
Export

A database administrator needs to add a column to an existing table. Which of the following statements should the administrator use?

A.
CREATE
Answers
A.
CREATE
B.
UPDATE
Answers
B.
UPDATE
C.
ALTER
Answers
C.
ALTER
D.
DROP
Answers
D.
DROP
Suggested answer: C

Explanation:

To add a column to an existing table, the database administrator should use the ALTER TABLE statement with the ADD COLUMN clause. This statement allows modifying the structure of a table by adding, deleting, or changing columns and constraints. The CREATE statement is used to create a new table, not to modify an existing one. The UPDATE statement is used to modify the data in a table, not the structure. The DROP statement is used to delete a table or a column, not to add a new column.Reference:

CompTIA IT Fundamentals (ITF+) Certification Guide, page 307

SQL ADD COLUMN - Add One or More Columns To a Table

asked 02/10/2024
Ariel Acosta
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first