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
single

single

Ask AI

expand

Ask AI

ChatGPT

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

close

Awesome!

Completion rate improved to 4.17

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!

close

Awesome!

Completion rate improved to 4.17

Swipe to show menu

some-alt