ExamGecko
Question list
Search
Search

Question 289 - FC0-U61 discussion

Report
Export

Which of the following commands would most likely be used to add data to an existing database table?

A.
SELECT
Answers
A.
SELECT
B.
INSERT
Answers
B.
INSERT
C.
ALTER
Answers
C.
ALTER
D.
CREATE
Answers
D.
CREATE
Suggested answer: B

Explanation:

The INSERT command is used to add new records or rows to an existing database table. It specifies the table name, the column names, and the values to be inserted. For example,INSERT INTO Customers (Name, Age, City) VALUES ('Ali', 25, 'Lahore');would add a new row to the Customers table with the given values for Name, Age, and City. The SELECT command is used to query or retrieve data from a database table, not to add data. The ALTER command is used to modify the structure or definition of a database table, such as adding, deleting, or renaming columns. The CREATE command is used to make a new database object, such as a table, a view, or an index, not to add data to an existing table.Reference:Interfacing with Databases | CompTIA IT Fundamentals FC0-U61 | 5.3,Get the Building Blocks of IT With the New CompTIA IT Fundamentals+

asked 02/10/2024
David Fernando del Villar
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first