没错,还是接着上次笔记
上次笔记链接:https://blog.csdn.net/qq_52158420/article/details/121485045
9,使用Q()表示不等关系
- 查询不是“网站设计"的职业信息
- 查看index_vocation表
10使用exclude()表示不等于关系
-
查询不是“网站设计"的职业信息
-
查看index_vocation表
11,使用count()函数查询记录数
-
在职业表里查询‘软件开发’的记录数
-
查看index_vocation表
12,使用distinct()函数去重
-
在职业表里查询有多少个不同的工作(job)
-
查看index_vocation
-
任务:查询月薪在10000及以上的工作与个数
**参考资料:https://www.cnblogs.com/haoshine/p/5554061.html
**
-
查看index_vocation表
-
任务:查询月薪在15000与25000之间的工作与个数
-
查看index_vocation表