Comments are explanations or annotations in SQL queries that are readable by programmers. It's used to make SQL statements easier to understand for humans. During the parsing of SQL code, it will be ignored. Comments can be written on a single line or across several lines.
Single Line Comments: It starts with two consecutive hyphens (--).
Multi-line Comments: It starts with /* and ends with */.
Answers (0)