当前位置:网站首页>SQL where multiple field filtering
SQL where multiple field filtering
2022-07-07 04:23:00 【Data analysis of financial Xiaobai】
SELECT device_id,university,gpa FROM user_profile WHERE (university,gpa)
IN (SELECT university,MIN(gpa) FROM user_profile GROUP BY university) ORDER BY university
# Use window functions ROW OVER() (PARITITION BY " Press that field " ORDER BY " What sort " )
SELECT device_id,university,gpa FROM (SELECT device_id,university,gpa,(RANK() over (PARTITION BY university ORDER BY gpa )) as m FROM user_profile) AS A WHERE A.m=1
边栏推荐
- 别样肉客联手德克士在全国部分门店推出别样汉堡
- 2022 electrician cup a question high proportion wind power system energy storage operation and configuration analysis ideas
- Redis源码学习(30),字典学习,dict.h
- Restore backup data on GCS with br
- golang 根据生日计算星座和属相
- Some thoughts on cross end development of kbone and applet
- Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
- 2022 middle school Youth Cup mathematical modeling question B fertility policy research ideas under the background of open three children
- Both primary and secondary equipment numbers are 0
- 数学分析_笔记_第10章:含参变量积分
猜你喜欢
C#使用西门子S7 协议读写PLC DB块
[coded font series] opendyslexic font
[team learning] [phase 34] Baidu PaddlePaddle AI talent Creation Camp
Operational amplifier application summary 1
The most complete deployment of mongodb in history
Continuous learning of Robotics (Automation) - 2022-
C # use Siemens S7 protocol to read and write PLC DB block
Some common software related
[knife-4j quickly build swagger]
Do you choose pandas or SQL for the top 1 of data analysis in your mind?
随机推荐
【编码字体系列】OpenDyslexic字体
高薪程序员&面试题精讲系列120之Redis集群原理你熟悉吗?如何保证Redis的高可用(上)?
[ArcGIS tutorial] thematic map production - population density distribution map - population density analysis
In cooperation with the research team of the clinical trial center of the University of Hong Kong and Hong Kong Gangyi hospital, Kexing launched the clinical trial of Omicron specific inactivated vacc
Mongo shell, the most complete mongodb in history
Class constant pool and runtime constant pool
pyqt5 失焦 监听无操作 定时器
Video fusion cloud platform easycvr video Plaza left column list style optimization
2022中青杯C题城市交通思路分析
Golang calculates constellations and signs based on birthdays
2022 middle school Youth Cup mathematical modeling question B fertility policy research ideas under the background of open three children
【自动化经验谈】自动化测试成长之路
The root file system of buildreoot prompts "depmod:applt not found"
vim —- 自己主动的按钮indent该命令「建议收藏」
Analysis on the thinking of college mathematical modeling competition and curriculum education of the 2022a question of the China Youth Cup
EasyCVR无法使用WebRTC进行播放,该如何解决?
[record of question brushing] 2 Add two numbers
VIM - own active button indent this command "suggestions collection"
Use facet to record operation log
The first introduction of the most complete mongodb in history