Javatpoint Logo
Javatpoint Logo

MySQL Comments

In MySQL, comments can also be placed in the SQL queries. Comments can be of single line or multiple lines.

There are three types in which comments can be written:-

1. Using # symbol

Syntax

Example 1

MySQL Comments

2. Using -- symbol

Syntax

Example 2

MySQL Comments

3. Using /* and */ symbol

Syntax

Example 3

MySQL Comments
Next TopicMySQL Cursor




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA