摘要:
表增加注释 comment on table 表名 is '表注释"; 列增加注释 comment on column 表.列 is '列注释'; 读取表注释 select * from user_tab_comments where comments is not NULL AND TABLE_N 阅读全文
摘要:
方法一: -- 语法 case when 列名=条件 then 命名 else 命名 end 示例 select id, (case when class= 0 then "语文" when class= 1 then "数学" when class = 2 then "英语" end) as 学科 阅读全文