chevron_left
Getting started
check_circle
Mark as learned thumb_up
0
thumb_down
0
chat_bubble_outline
0
auto_stories new
settings
MySQL | Comments
Database
chevron_rightMySQL
chevron_rightCommon questions
chevron_rightGetting started
schedule Jul 1, 2022
Last updated local_offer MySQL
Tags tocTable of Contents
expand_more Check out the interactive map of data science
Single Line Comments
Single line comments start with --
(two hyphens):
--This is a single line commentSELECT *FROM table;
Multi-line Comments
Multi-line comments start with /*
(slash and an asterisk) and end with */
(asterisk and a slash):
/* This isa multi-line comment */SELECT *FROM table;
Published by Arthur Yanagisawa
Edited by 0 others
Did you find this page useful?
thumb_up
thumb_down
Ask a question or leave a feedback...
Official MySQL Documentation
https://dev.mysql.com/doc/refman/8.0/en/comments.html
thumb_up
0
thumb_down
0
chat_bubble_outline
0
settings
Enjoy our search
Hit / to insta-search docs and recipes!