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

bookSQL 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!

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

Suggested prompts:

Summarize this chapter

Explain the code in file

Explain why file doesn't solve the task

close

Awesome!

Completion rate improved to 4.17

bookSQL Comments

Swipe to show menu

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
SectionΒ 3. ChapterΒ 13
single

single

some-alt