Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn SQL Comments | Filtering Statements
SQL Tutorial for Beginners

Swipe to show menu

book
SQL Comments

There are two types of comments in SQL: one-line and multi-line. The one-line comment starts with --, and multiline starts with /* and ends with */, like in C++:

12345
--comment for current line /* multi- line comment*/
copy

Congratulations! Don't stop learning and complete Data Manipulation using SQL course!

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 13
We're sorry to hear that something went wrong. What happened?

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
SQL Comments

There are two types of comments in SQL: one-line and multi-line. The one-line comment starts with --, and multiline starts with /* and ends with */, like in C++:

12345
--comment for current line /* multi- line comment*/
copy

Congratulations! Don't stop learning and complete Data Manipulation using SQL course!

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 13
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt