Single line comments start with --.
Any line between -- and the end of the line will be ignored (will not be executed).
Example
A single-line comment as an explanation:
--Select all:SELECT * FROM Customers;
Example
A single-line comment to ignore the end of a line:
SELECT * FROM Customers -- WHERE City='Berlin';
Example
A single-line comment to ignore a statement:
--SELECT * FROM Customers;SELECT * FROM Products;
EmoticonEmoticon