当前位置:网站首页>Mysql database - single table query (II)
Mysql database - single table query (II)
2022-04-23 19:42:00 【X heart】
The first 1 Turn off : belt LIKE Character matching query for
USE Company;
######### Begin #########
select Name ,Salary
from tb_emp
where Name like 'C%';
######### End #########
The first 2 Turn off : Querying null values and removing duplicate results
USE Company;
######### Begin #########
select *
from tb_emp
where DeptId IS NULL;
######### End #########
######### Begin #########
select distinct Name
from tb_emp;
######### End #########
The first 3 Turn off : belt AND And OR Multi criteria query of
USE Company;
######### Begin #########
select *
from tb_emp
where DeptId='301' and Salary>3000;
######### End #########
######### Begin #########
select *
from tb_emp
where DeptId='301' OR DeptId='303';
######### End #########
版权声明
本文为[X heart]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231927030885.html
边栏推荐
- Codeworks round 783 (Div. 2) d problem solution
- First experience of using fluent canvas
- 音频编辑生成软件
- Go modules daily use
- 数据库查询 - 选课系统
- php参考手册String(7.2千字)
- C6748 软件仿真和硬件测试 ---附详细FFT硬件测量时间
- Use test of FFT and IFFT library functions of TI DSP
- Scrum Patterns之理解各种团队模式
- Garbage collector and memory allocation strategy
猜你喜欢
First experience of using fluent canvas
优先使用组合而不使用继承
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
命令-sudo
OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
MFCC: Mel频率倒谱系数计算感知频率和实际频率转换
Kubernetes introduction to mastery - ktconnect (full name: kubernetes toolkit connect) is a small tool based on kubernetes environment to improve the efficiency of local test joint debugging.
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(六)
Matlab 2019 installation of deep learning toolbox model for googlenet network
随机推荐
goroutine
Speex维纳滤波与超几何分布的改写
uIP1.0 主动发送的问题理解
Golang timer
RuntimeError: Providing a bool or integral fill value without setting the optional `dtype` or `out`
C语言的十六进制printf为何输出有时候输出带0xFF有时没有
php参考手册String(7.2千字)
Encyclopedia of professional terms and abbreviations in communication engineering
MySQL syntax collation (2)
Speex Wiener filter and rewriting of hypergeometric distribution
Build intelligent garbage classification applet based on Zero
kibana 报错 server is not ready yet 可能的原因
优先使用组合而不使用继承
Easy mock local deployment (you need to experience three times in a crowded time. Li Zao will do the same as me. Love is like a festival mock)
什么是消息队列
MySQL syntax collation
Hot reload debugging
Inject Autowired fields into ordinary beans
MySQL数据库 - 单表查询(二)
HTTP cache - HTTP authoritative guide Chapter VII