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 È Una GUI per Database Gratuita e Open Source
Il miglior strumento per query SQL ed editor che abbia mai usato. Fornisce tutto ciò di cui ho bisogno per gestire il mio database. - ⭐⭐⭐⭐⭐ Mit
Beekeeper Studio è veloce, intuitivo e facile da usare. Beekeeper supporta molti database e funziona benissimo su Windows, Mac e 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