当前位置:网站首页>计算特殊奖金
计算特殊奖金
2022-07-01 01:11:00 【冥王哈迪尔】
# Write your MySQL query statement below
select employee_id,
# id为奇数,名字不以M开头,as bonus很关键
case when(employee_id % 2 = 1 and name not like 'M%') then salary else 0 end as bonus
from Employees
order by employee_id;
边栏推荐
- 一站式洞察行业热点,飞瓜数据B站新功能「流量大盘」上线!
- [Qt5 tab] tab label and content hierarchical analysis
- Thinking brought by strictmode -strictmode principle (5)
- laravel 事件 & 监听
- 【Proteus仿真】Arduino UNO +74C922键盘解码驱动4X4矩阵键盘
- [JS adds attributes to elements: setAttribute; classlist.remove; classlist.add;]
- After working for 6 years, let's take stock of the golden rule of the workplace where workers mix up
- zabbix如何配置告警短信?(预警短信通知设置流程)
- org.redisson.client.RedisResponseTimeoutException: Redis server response timeout (3000 ms)错误解决
- [无线通信基础-15]:图解移动通信技术与应用发展-3- 数字通信2G GSM、CDMA、3G WDCMA/CDMA200/TD-SCDMA、4G LTE、5G NR概述
猜你喜欢
短信在企业中的应用有哪些?
Basic knowledge II - Basic definitions related to sta
With regard to the white box test, you have to master these skills~
Microbiological health, why is food microbiological testing important
Complete software development process
Basic knowledge 3 - standard unit library
Uniapp official component clicking item is invalid, solution
7-2 拼题A打卡奖励 dp
VirtualBox 安装增强功能
Analysis on user behavior loss of data exploration e-commerce platform
随机推荐
【JS给元素添加属性:setAttribute;classList.remove;classList.add;】
laravel 事件 & 订阅
一站式洞察行业热点,飞瓜数据B站新功能「流量大盘」上线!
3dsmax plug-in development traversal node object and object acquisition and inode transformation matrix description
思特奇加入openGauss开源社区,共同推动数据库产业生态发展
Strictmode jamming and leakage detection -strictmode principle (2)
Mysql database foundation: process control
The argument type 'function' can't be assigned to the parameter type 'void function()‘
[simulation] 922 Sort Array By Parity II
数学知识:求组合数 IV—求组合数
Batch import of Excel data in applet
微生物健康,食品微生物检测为什么很重要
[Qt5 basics] random number display
dc_ Study and summary of labs--lab1
[Agora] user management
MYSQL 数据库查看磁盘占用情况
数学知识:满足条件的01序列—求组合数
How to select securities companies? In addition, is it safe to open a mobile account?
Working for eight years as a programmer, but with a salary of three years after graduation, it's too late to be enlightened again
System settings large page