1、select *from emp where ename like %u%;
2、select distinct ( ename) from emp ;
3、select (comn+sal,0) as money from emp
(如果comn+sal等于空就返回零)
1、查询姓名中包含‘u’字母的员工记录2、同名去重3、字段计算
最新推荐文章于 2023-03-26 21:45:00 发布
1、select *from emp where ename like %u%;
2、select distinct ( ename) from emp ;
3、select (comn+sal,0) as money from emp
(如果comn+sal等于空就返回零)