Insert multiple rows at once
SQL
Easy
3 views
Problem Description
Insert 3 departments in one statement.
Output Format
DML statement(s)
Sample Test Case
Input:
Departments(dept_id, dept_name)
Official Solution
INSERT INTO Departments(dept_id, dept_name) VALUES (1,'Sales'),(2,'Support'),(3,'Tech');
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!