摘要:
#1、单行注释可以用"#" select 1 as cname; #this is a comment #2、单行注释的第二种写法用 "-- " 注意这个风格下"--【空格】" 也就是说“--" 与注释之间是有空格的。 select 123; -- this is a comment #3、多行注释可以用/**/ select 123; /* this is a comment */ 阅读全文
摘要:
--查询tablename 数据库中 以"_copy" 结尾的表 select table_name from information_schema.tables where table_schema='tablename' and table_type='base table' and table 阅读全文