Comments indicate user-provided text. There are two different types of comments: the – comment and the /…/ comment. Comments can be inserted on a separate line, nested (– only) at the end of a SQL command line, or within a SQL statement. The comment is not evaluated by the server. Two hyphens (–) is the SQL-92 standard indicator for comments.
Beekeeper Studio Is A Free & Open Source Database GUI
Best SQL query & editor tool I have ever used. It provides everything I need to manage my database. - ⭐⭐⭐⭐⭐ Mit
Beekeeper Studio is fast, intuitive, and easy to use. Beekeeper supports loads of databases, and works great on Windows, Mac and Linux.
Example
SELECT *
FROM table1 -- this is a comment
INNER JOIN table2 ON table1.c1 = table2.c1
/* this is another comment */
WHERE table1.c1 > 10
ORDER BY table1.c1