Vidyalelo
Database · Q1

Introduction to SQL

Programming · Database · question 1

Q1

You can add a row using SQL in a database with which of the following?

A.
ADD
B.
CREATE
C.
INSERT
Answer
D.
MAKE

Answer: Option C

Solution

Answer: Option C
Solution:
Option A: ADD - In SQL, ADD is not typically used to add new rows to a database table. It is more commonly used to add new columns to an existing table structure.
Option B: CREATE - The CREATE statement in SQL is used to create new database objects such as tables, indexes, or views. It is not used specifically for adding rows to a table.
Option C: INSERT - The INSERT statement in SQL is used to insert new rows into a table. You specify the table name and the values you want to insert into the new row.
Option D: MAKE - There is no standard SQL command or keyword called MAKE for adding rows to a database table.
Conclusion:
To add a new row to a database table in SQL, you use the INSERT statement. Therefore, the correct answer is Option C: INSERT.