Study for the SQL Basics Test. Explore multiple-choice questions with comprehensive explanations and hints. Gear up for your SQL exam!

Multiple Choice

Which notation denotes a multi-line comment?

A multi-line comment is marked by opening with /* and closing with */. Everything between these delimiters is ignored by the compiler, so you can spread the comment across several lines. This is different from // or --, which are single-line comments that end at the end of the line. The exact form is /* comment */, which is why that notation is used to denote a comment block that can span multiple lines.

A multi-line comment is marked by opening with /* and closing with /. Everything between these delimiters is ignored by the compiler, so you can spread the comment across several lines. This is different from // or --, which are single-line comments that end at the end of the line. The exact form is / comment */, which is why that notation is used to denote a comment block that can span multiple lines.