Computer Science, asked by palakgupta2395, 4 months ago

create a table in sql with create command and insert two rows in it.​

Answers

Answered by 26dipikarani
3

Answer:

The SQL INSERT INTO Statement is used to add new rows of data to a table in the database.

Answered by Abhishek466430
2

Explanation:

Summary: in this tutorial, you will learn how to insert multiple rows into a table using a single SQL Server INSERT statement.

In the previous tutorial, you have learned how to add one row at a time to a table by using the INSERT statement.

To add multiple rows to a table at once, you use the following form of the INSERT statement:

INSERT INTO table_name (column_list)

VALUES

(value_list_1),

(value_list_2),

...

(value_list_n);

In this syntax, instead of using a single list of values, you use multiple comma-separated lists of values for insertion.

The number of rows that you can insert at a time is 1,000 rows using this form of the INSERT statement. If you want to insert more rows than that, you should consider using multiple INSERT statements, BULK INSERT or a derived table.

Similar questions