Q.Fill in the blank : _________ statement of SQL is used to insert new records in a table.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →The INSERT statement is used to add new records (rows) to a table in SQL, making option (c) the correct choice.
The question asks about the specific SQL statement used to add new records into a table. To understand this, we need to recall the fundamental categories of SQL commands: Data Definition Language (DDL) and Data Manipulation Language (DML).
DDL commands are used to define and manage the database schema or structure. Think of them as commands that build or modify the "blueprint" of your database, like creating tables, altering their structure, or dropping them entirely.
DML commands, on the other hand, are used to manage the data within those defined structures. These are the commands you use to interact with the actual information stored in your tables—adding new data, changing existing data, or removing data.
The task of adding new records clearly falls under manipulating the data, not defining the structure. Therefore, we are looking for a DML command.
-
Understand the Goal: The objective is to add new rows or records to an existing table. This means we are dealing with the content of the table, not its structure.
-
Evaluate Option (a) ALTER:
The
ALTERstatement is a DDL command. It is used to modify the structure of an existing database object, such as adding a new column to a table, dropping an existing column, or changing the data type of a column. It does not insert new data rows.For example:
ALTER TABLE Employees ADD COLUMN Email VARCHAR(100); -
Evaluate Option (b) UPDATE:
The
UPDATEstatement is a DML command. It is used to modify existing records in a table. If you want to change the value in one or more columns for rows that already exist, you useUPDATE. It does not create new rows.For example:
UPDATE Employees SET Salary = 60000 WHERE EmployeeID = 101;Watch outA common mistake is to confuse
UPDATEwithINSERT. Remember,UPDATEchanges data in existing rows, whileINSERTadds new rows. -
Evaluate Option (c) INSERT: …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.