• day34作业


    1. 查看岗位是teacher的员工姓名、年龄
      select name,age from t1 where job=teacher;
      1. 查看岗位是teacher且年龄大于30岁的员工姓名、年龄
        select name, age where job=teacher and age>30;
      2. 查看岗位是teacher且薪资在9000-1000范围内的员工姓名、年龄、薪资
        select name, age, salary from tbl where job=teacher and salary between 9000 and 10000
      3. 查看岗位描述不为NULL的员工信息
        select * from tl where job is not null
      4. 查看岗位是teacher且薪资是10000或9000或30000的员工姓名、年龄、薪资
        select name, age, salary from tl where job=teacher and salary in (10000, 9000, 300000)
      5. 查看岗位是teacher且薪资不是10000或9000或30000的员工姓名、年龄、薪资
        select name, age, salary from tl where job=teacher and salary not in (10000, 9000, 30000)
      6. 查看岗位是teacher且名字是jin开头的员工姓名、年薪
        select name, age from tl where job=teacher and name like 'jin%'
  • 相关阅读:
    6.25作业
    博客园第一篇
    532. 数组中的K-diff数对
    echarts
    跨域问题
    数组中第三大的数 leetcode 414
    除自身以外数组的乘积leetcode 238
    xshell工具
    插入、删除和随机查询时间复杂度都为O(1) leetcode 381
    组合总和3 leetcode 216
  • 原文地址:https://www.cnblogs.com/xwjhyy/p/11761601.html
Copyright © 2020-2023  润新知