I have found there is the 'comment' keyword in MySQL.(not comment syntax like /* */, #)
But I do not know the reason why there is the 'comment' keyword.
If there is the following table, how could I use the 'comment'?
create table Employee(
id int not null auto_increment,
create_dt date comment 'the date when employee was hired'
salary int comment 'salary in EUR',
primary key (id)
) comment 'The employee table of company AA';
comment
was a keyword in MySQL. It looks like it's just another way to leave a comment in your SQL code. I think I would prefer--
because this is ANSI standard, and IMO easier to spot as being a comment rather than a keyword.