当前位置:网站首页>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
边栏推荐
- Matlab 2019 installation of deep learning toolbox model for googlenet network
- Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (6)
- Golang timer
- Steps to build a deep learning environment GPU
- IIS data conversion problem: 16bit to 24bit
- HTTP cache - HTTP authoritative guide Chapter VII
- OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
- Zero cost, zero foundation, build profitable film and television applet
- Machine learning catalog
- Core concepts of rest
猜你喜欢

The textarea cursor cannot be controlled by the keyboard due to antd dropdown + modal + textarea

PHP reference manual string (7.2000 words)

【数值预测案例】(3) LSTM 时间序列电量预测,附Tensorflow完整代码

Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)

The platinum library cannot search the debug process records of some projection devices

Openharmony open source developer growth plan, looking for new open source forces that change the world!

指针数组与数组指针的区分

Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies

php参考手册String(7.2千字)

Mfcc: Mel frequency cepstrum coefficient calculation of perceived frequency and actual frequency conversion
随机推荐
An idea of rendering pipeline based on FBO
点云数据集常用处理
深度学习环境搭建步骤—gpu
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(五)
Kubernetes入门到精通-裸机LoadBalence 80 443 端口暴露注意事项
MySQL syntax collation (5) -- functions, stored procedures and triggers
Efficient serial port cyclic buffer receiving processing idea and code 2
【数值预测案例】(3) LSTM 时间序列电量预测,附Tensorflow完整代码
高效的串口循环Buffer接收处理思路及代码2
深度学习——特征工程小总结
TI DSP的 FFT与IFFT库函数的使用测试
Some speculation about the decline of adults' language learning ability
山大网安靶场实验平台项目—个人记录(四)
Strange problems in FrameLayout view hierarchy
MFC获取本机IP(网络通讯时用得多)
MySQL syntax collation (2)
IIS data conversion problem: 16bit to 24bit
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (6)
OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
Core concepts of rest