88.7k views
2 votes
If more than one column is listed in the INSERT INTO clause, the column names must be separated by ____.

a) Semicolon
b) Comma
c) Colon
d) Period

User Alexeis
by
7.6k points

1 Answer

5 votes

Final answer:

Option B: In an SQL INSERT INTO clause, multiple column names must be separated by a comma.

Step-by-step explanation:

If more than one column is listed in the INSERT INTO clause of an SQL statement, the column names must be separated by a comma. It's important to note that the use of a comma in SQL syntax differs from punctuation rules in standard English grammar, where commas can be used to separate items in a list or clauses in a sentence, and semicolons are used to connect closely related independent clauses or separate complex list items.

For the SQL INSERT INTO statement, only commas are used to separate column names or values within the statement. When more than one column is listed in the INSERT INTO clause, the column names must be separated by a comma.

User Ojdo
by
8.0k points