【文件属性】:
文件名称:Mysql的基本操作
文件大小:8KB
文件格式:MD
更新时间:2023-02-06 16:17:33
Mysql数据库
select * from Teachers
select concat(tGender if (tAge<18,'未成年','成年'))
#conocat(str1,str2,...)将括号内的字符串或字段进行拼凑连接
#if(expl,exp2,exp3)如果expl为真,则返回exp2,否则返回exp3;
from teachers;