当前位置:网站首页>MySQL command (add, delete, check and modify)
MySQL command (add, delete, check and modify)
2022-07-28 22:29:00 【Crane sorrow_】
Preface : installed Mysql After configuration, the environment can run normally ; download Navicat Premium Installation can be operated .
One 、: Inquire about
1. Check everything select * from user where 1( Red characters are general characters )
2. Querying a user
select * from user where name=‘zeng8’ and password=’zmm123‘
3. The score is greater than 500
select * from user where score>500
4.name zeng_ Of
_ Represents any character (10 I can't get out ,8 and 9 Can come out )
% Represents one or more characters
select * from user where name like ‘zeng_’
select * from user where name like ‘zeng%
5. Query all users , from 1 Start , Intercept 2 strip
select * from user where 1 limit1,2
6. Query all users , Sort by score , Ascending acs , Descending desc
select * from user where 1 order by score asc
select * from user where 1 order by score desc
7. Query two fields
select name ,scorefrom user where 1
Two 、 Insert
1. word :
insert Insert
into To
user indicate
values value
2.insert into user(name,password,score)
values(‘zeng11’,‘zmm123’,120)
3. hold zeng8 Change your score to 2500
update user set score =2500 where name ='zeng8'
hold zeng_ Score change 2500 _ Arbitrary character
update user set score =2500 where name like 'zeng_'
3、 ... and 、 Delete
1.DELETE form user where id=5
Delete user in id by 5 The line of
边栏推荐
- ECMASript 5/6 笔记
- 【CVPR 2021】Cylinder3D:用于LiDAR点云分割的圆柱体非对称3D卷积网络
- 使用webWorker执行后台任务
- HCIP(14)
- Overall introduction of Ruiji takeout project
- 2021数学建模B组练习
- If you want to grow rapidly, you must first experience a major blow!
- Learning notes and summary of C language programming specification
- Leetcode integer exercises integer inversion
- ATT&CK 威胁情报
猜你喜欢

hcip实验(14)

Changes in the history of oscilloscope development

网易云信 2022Q2 产品补给站,快来获取你的产品补给计划吧!

Ordinary practice of JS DOM programming

Ngrok intranet penetration
![[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints](/img/37/7cb5fa3a9078a5f5947485147c819d.png)
[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints

示波器发展史中的变化

Overall introduction of Ruiji takeout project

SQL注入 Less34(POST型宽字节注入+布尔盲注)

SQL injection less38 (Stack Injection)
随机推荐
Netease Yunxin 2022q2 product supply station, come and get your product supply plan!
[Ruiji takeout] day05 package management business development
Tensorflow serving high performance machine learning model service system
MySQL installation and configuration (super detailed, simple and practical)
HCIP(13)
Basic introduction of Rockwell AB PLC rslogix digital quantity IO module
What is time complexity
什么是时间复杂度
Static route and default route experiment
TensorFlow Serving 高性能的机器学习模型服务系统
hcip实验(14)
Can the MySQL create statement be used to create a table structure and append new records
JMeter installs third-party plug-ins plugins Manager
ATT&CK初步了解
HCIP(8)
lotus 1.16.0 延长扇区过期时间
MOV格式是不是静态图像文件格式
JS convert numbers to letters
Idea generate class diagram plug-in UML (super detailed)
2021 mathematical modeling group B exercise