当前位置:网站首页>Day06 operation -- addition, deletion, modification and query
Day06 operation -- addition, deletion, modification and query
2022-07-26 08:52:00 【Ning Meng】

1. Check the name and average score of each student
select name,avg(score) from stu group by name;
2. Check the names of students who failed in the exam
select distinct name from stu where score<60;
3. Query the top three data with the highest scores
select * from stu order by score desc limit 0,3;
4. Add a new one rose My math score is 50 Minute data
insert into stu value(8,'rose',50,' mathematics ');
5. modify jack My math score is 85
update stu set score=85 where name='jack' and sk=' mathematics ';
6. Delete susanla Biological performance data
delete from stu where name='susanla' and sk=' biological ';
7. The query name contains c The data of
select * from stu where name like '%c%';
边栏推荐
- Replication of SQL injection vulnerability in the foreground of Pan micro e-cology8
- Oracle 19C OCP 1z0-082 certification examination question bank (36-41)
- Excel delete blank lines
- 基于C语言的哈夫曼转化软件
- day06 作业--技能题6
- Web概述和B/S架构
- day06 作业--技能题1
- Xshell batch send command to multiple sessions
- 6、 Pinda general permission system__ pd-tools-log
- Web3 Games: current situation and future
猜你喜欢

Using the primitive root of module m to judge and solve

SSH,NFS,FTP

Mysql/mariadb (Galera multi master mode) cluster construction

基于C语言实现的人机交互软件
![[freeswitch development practice] user defined module creation and use](/img/5f/3034577e3e2bc018d0f272359af502.png)
[freeswitch development practice] user defined module creation and use

【搜索专题】看完必会的搜索问题之洪水覆盖

Grid segmentation

After MySQL 8 OCP (1z0-908), hand in your homework

Arbitrum launched the anytrust chain to meet the diverse needs of ecological projects

Excel find duplicate lines
随机推荐
Dynamic SQL and exceptions of pl/sql
Excel delete blank lines
Cadence (x) wiring skills and precautions
Oracle 19C OCP 1z0-082 certification examination question bank (42-50)
P3743 kotori的设备
SSH,NFS,FTP
Self review ideas of probability theory
【FreeSwitch开发实践】使用SIP客户端Yate连接FreeSwitch进行VoIP通话
Super potential public chain dfinity -- the best time for DFI developers to enter
Grid segmentation
[untitled]
The effective condition of MySQL joint index and the invalid condition of index
SSH,NFS,FTP
Spark persistence strategy_ Cache optimization
My meeting of OA project (query)
解决C#跨线程调用窗体控件的问题
Recurrence of SQL injection vulnerability in the foreground of a 60 terminal security management system
Arbitrum launched the anytrust chain to meet the diverse needs of ecological projects
[recommended collection] summary of MySQL 30000 word essence - partitions, tables, databases and master-slave replication (V)
Registration of finite element learning knowledge points