当前位置:网站首页>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
边栏推荐
- Software College of Shandong University Project Training - Innovation Training - network security shooting range experimental platform (8)
- Kubernetes入门到精通-KtConnect(全称Kubernetes Toolkit Connect)是一款基于Kubernetes环境用于提高本地测试联调效率的小工具。
- 机器学习目录
- Speculation on the way to realize the smooth drag preview of video editing software
- Build intelligent garbage classification applet based on Zero
- The difference between underline and dot of golang import package
- C6748 软件仿真和硬件测试 ---附详细FFT硬件测量时间
- Garbage collector and memory allocation strategy
- 指针数组与数组指针的区分
- The usage of slice and the difference between slice and array
猜你喜欢
【webrtc】Add x264 encoder for CEF/Chromium
An algorithm problem was encountered during the interview_ Find the mirrored word pairs in the dictionary
精简CUDA教程——CUDA Driver API
RuntimeError: Providing a bool or integral fill value without setting the optional `dtype` or `out`
antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题
OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
Matlab 2019 installation of deep learning toolbox model for googlenet network
Zero cost, zero foundation, build profitable film and television applet
Virtual machine performance monitoring and fault handling tools
Distinction between pointer array and array pointer
随机推荐
精简CUDA教程——CUDA Driver API
An example of using JNI to directly access surface data
对普通bean进行Autowired字段注入
Why is the hexadecimal printf output of C language sometimes with 0xff and sometimes not
Executor、ExecutorService、Executors、ThreadPoolExecutor、Future、Runnable、Callable
goroutine
Thoughts on the optimization of examination papers in the examination system
Translation of audio signal processing and coding: Preface
Software College of Shandong University Project Training - Innovation Training - network security shooting range experimental platform (8)
Pdf reference learning notes
MFC obtains local IP (used more in network communication)
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
Efficient serial port cyclic buffer receiving processing idea and code 2
Grafana 分享带可变参数的链接
Strange problems in FrameLayout view hierarchy
Lottery applet, mother no longer have to worry about who does the dishes (assign tasks), so easy
Application of DCT transform
Encyclopedia of professional terms and abbreviations in communication engineering
kibana 报错 server is not ready yet 可能的原因
How to select the third-party package of golang