1、单行注释

  “-- ”  即:两个中滑线加一个空格

2、多行注释

  "/* ... */"

示例:

-- 单行注释

/* 多行注释*/

create table test(id int);

这三行代码在mysql 中,oracle 中都可以执行。

相关文章: