Comment Syntax
Complete SQL comment syntax: single-line # and -- (space required), multi-line /* */ blocks, MySQL /*!##### */ and MariaDB /*M!##### */ executable comments.
SELECT * FROM users;
# This is a comment
SELECT * FROM users; -- This is a commentSELECT * FROM users; /* This is a
multi-line
comment */Executable Comments
Executable Comment Syntax
Examples
Last updated
Was this helpful?

