当前位置:网站首页>Mysql--- query the top 5 students
Mysql--- query the top 5 students
2022-07-06 00:57:00 【The evening wind blows】
List of articles
demand : The query result is top 5 Students of
After getting the demand , First analyze the requirements , Find out the screening conditions
One 、Mysql Inquire about
1、 The most basic query
select * from table where name="panpan"
2、 Check before 5 name
stay mysql Top of the filtered data in , You can use keywords :limit
select * from table where name="panpan" limit 1
explain : The name in the query table is panpan The first record
3、 Under what conditions , The demand is to screen by achievements , You can use order by Sort filter
select * from table where order by grade
Two 、 Query application
Query after merging :
select * from score order by grade limit 5
explain : Query to score Exterior and interior grade , With grade Screening , Before extraction 5 Bar record
边栏推荐
- NLP basic task word segmentation third party Library: ICTCLAS [the third party library with the highest accuracy of Chinese word segmentation] [Chinese Academy of Sciences] [charge]
- ADS-NPU芯片架构设计的五大挑战
- Spark AQE
- Comment faire votre propre robot
- Introduction of motor
- Yolov5, pychar, Anaconda environment installation
- [simple implementation of file IO]
- 朝招金安全吗 会不会亏损本金
- [groovy] XML serialization (use markupbuilder to generate XML data | create sub tags under tag closures | use markupbuilderhelper to add XML comments)
- curlpost-php
猜你喜欢
![Cf:h. maximum and [bit operation practice + K operations + maximum and]](/img/c2/9e58f18eec2ff92e164d8d156629cf.png)
Cf:h. maximum and [bit operation practice + K operations + maximum and]

Finding the nearest common ancestor of binary tree by recursion

vSphere实现虚拟机迁移

Cf:c. the third problem
![[groovy] compile time meta programming (AST syntax tree conversion with annotations | define annotations and use groovyasttransformationclass to indicate ast conversion interface | ast conversion inte](/img/61/73becfc3b46669d31b0cf334aa54f2.jpg)
[groovy] compile time meta programming (AST syntax tree conversion with annotations | define annotations and use groovyasttransformationclass to indicate ast conversion interface | ast conversion inte

Comment faire votre propre robot

Four dimensional matrix, flip (including mirror image), rotation, world coordinates and local coordinates

MobileNet系列(5):使用pytorch搭建MobileNetV3并基于迁移学习训练

After Luke zettlemoyer, head of meta AI Seattle research | trillion parameters, will the large model continue to grow?

Idea远程提交spark任务到yarn集群
随机推荐
Building core knowledge points
Gartner released the prediction of eight major network security trends from 2022 to 2023. Zero trust is the starting point and regulations cover a wider range
NLP generation model 2017: Why are those in transformer
Exciting, 2022 open atom global open source summit registration is hot
Cf:d. insert a progression [about the insert in the array + the nature of absolute value + greedy top-down]
[groovy] compile time metaprogramming (compile time method injection | method injection using buildfromspec, buildfromstring, buildfromcode)
How spark gets columns in dataframe --column, $, column, apply
XML Configuration File
Questions about database: (5) query the barcode, location and reader number of each book in the inventory table
Study diary: February 13, 2022
Promise
在产业互联网时代,将会凭借大的产业范畴,实现足够多的发展
面试必刷算法TOP101之回溯篇 TOP34
Yolov5, pychar, Anaconda environment installation
VSphere implements virtual machine migration
Overview of Zhuhai purification laboratory construction details
Problems and solutions of converting date into specified string in date class
Intensive learning weekly, issue 52: depth cuprl, distspectrl & double deep q-network
After Luke zettlemoyer, head of meta AI Seattle research | trillion parameters, will the large model continue to grow?
[groovy] JSON serialization (jsonbuilder builder | generates JSON string with root node name | generates JSON string without root node name)