Normalizer
Normalizer
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Normalizer的博客
全部文章
(共5篇)
题解 | #使用子查询的方式
# 查找Action分类的电影分类id # 将该分类id与电影id连接 # 将查找出的电影id与电影名称和描述信息连接 # 查找Action分类的电影分类id # select category_id # from category # where name='Action' # 将该分类id与...
2023-03-05
0
186
题解 | #使用join查询方式#
# category_id isNull #### 不用join # select film_id, title # from film # where film_id not in ( # select film_id from film_category # ) #### 使用...
2023-03-05
0
192
题解 | #汇总各个部门当前员工的title类型的分配数目#
# 连接部门员工和title # 按部门对title计数 # 连接计数后的部门和名称 # 连接部门员工和title, det # select # de.dept_no as dept_no, # t.title as title # from dept_emp de join t...
2023-03-05
0
270
题解 | #统计牛客网部分用户使用语言#
import pandas as pd # 导入数据 df = pd.read_csv('Nowcoder.csv', dtype=object) # 使用loc() print(df.loc[10:20,'Language']) # 使用iloc() print(df['Language']....
2023-03-04
6
277
题解 | 多条件排名/rank()
# 将不重复的薪水挑选出来 diss select distinct salary from salaries # 对diss的薪水进行排序,orderdiss select diss.salary as salary, row_number() over(order by diss.sa...
2023-03-04
0
523