\
查询投递最低最高薪资差别大于2的职位的投递用户user_id
https://www.nowcoder.com/practice/88b3cd0bde4141dfbfa79c3dec44fd9a
select user_id from deliver_record_detail where coalesce(max_salary,0) - coalesce(min_salary,0) > 2
注意:处理空值数据coalesce()标准SQL,infull()方言MYSQL
查询投递最低最高薪资差别大于2的职位的投递用户user_id
https://www.nowcoder.com/practice/88b3cd0bde4141dfbfa79c3dec44fd9a
select user_id from deliver_record_detail where coalesce(max_salary,0) - coalesce(min_salary,0) > 2
注意:处理空值数据coalesce()标准SQL,infull()方言MYSQL
相关推荐