Which is NOT a valid way to include a comment in SQL-99?
AMultiline Comments or Block Comments: Multiline comments start with /* and end with
*/
BSingle-line comments start with -- double hyphens
CInline Comments: Inline comments start with -- after the SQL statement on the same
line
D// This is used for giving a comment
Show answerHide answer
Correct answer: (D) // This is used for giving a comment
Explanation
Standard SQL supports -- for single-line (and end-of-line) comments and /* ... */ for block comments. // is a comment in C++/Java/JavaScript, not in SQL-99.