当前位置:网站首页>Mysql database - single table query (III)
Mysql database - single table query (III)
2022-04-23 19:42:00 【X heart】
The first 1 Turn off : Sort query results
USE School;
# Please add the implementation code here
########## Begin ##########
########## Inquire about 1 All the information of the class will be displayed in descending order ##########
select * from tb_score where class_id=1 order by score desc;
########## End ##########
The first 2 Turn off : Group query
USE School;
# Please add the implementation code here
########## Begin ##########
########## Group query the class name ##########
select * from tb_class group by class_id;
########## End ##########
The first 3 Turn off : Use LIMIT Limit the number of query results
USE School;
# Please add the implementation code here
########## Begin ##########
########## Query the... In the class 2 Name to number 5 Student information of name ##########
select * from tb_score order by score desc limit 1,4;
########## End ##########
版权声明
本文为[X heart]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231927030804.html
边栏推荐
- @Mapperscan and @ mapper
- 山大网安靶场实验平台项目—个人记录(四)
- Hot reload debugging
- @MapperScan与@Mapper
- Data analysis learning directory
- 2021-2022-2 ACM training team weekly Programming Competition (8) problem solution
- [H264] hevc H264 parsing and frame rate setting of the old version of libvlc
- Garbage collector and memory allocation strategy
- Decompile and get the source code of any wechat applet - just read this (latest)
- Physical meaning of FFT: 1024 point FFT is 1024 real numbers. The actual input to FFT is 1024 complex numbers (imaginary part is 0), and the output is also 1024 complex numbers. The effective data is
猜你喜欢
深度学习——特征工程小总结
Class loading mechanism
MySQL syntax collation (4)
Physical meaning of FFT: 1024 point FFT is 1024 real numbers. The actual input to FFT is 1024 complex numbers (imaginary part is 0), and the output is also 1024 complex numbers. The effective data is
Using oes texture + glsurfaceview + JNI to realize player picture processing based on OpenGL es
No, some people can't do the National Day avatar applet (you can open the traffic master and earn pocket money)
MySQL lock
Deep learning -- Summary of Feature Engineering
Unity创建超写实三维场景的一般步骤
【数值预测案例】(3) LSTM 时间序列电量预测,附Tensorflow完整代码
随机推荐
Encyclopedia of professional terms and abbreviations in communication engineering
【webrtc】Add x264 encoder for CEF/Chromium
UML类图几种关系的总结
The usage of slice and the difference between slice and array
一个简单的(基于redisson的)分布式同步工具类封装
MySQL数据库 - 单表查询(二)
IIS数据转换问题16bit转24bit
Class loading process of JVM
MySQL syntax collation (4)
MFCC: Mel频率倒谱系数计算感知频率和实际频率转换
What is a message queue
数据库查询 - 选课系统
渤海期货这家公司怎么样。期货开户办理安全?
Web Security
Audio signal processing and coding - 2.5.3 the discrete cosine transform
The platinum library cannot search the debug process records of some projection devices
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(五)
如何在BNB鏈上創建BEP-20通證
Strange problems in FrameLayout view hierarchy
MySQL practical skills