当前位置:网站首页>Case error of MySQL branch statement
Case error of MySQL branch statement
2022-07-24 00:36:00 【CSDN Q & A】
In use MySQL( The version is 8.0 The above ) case Error in branch statement , As long as it's used case will , The same is true for simple branch statements , Let's see , Here's the picture
This is one of the stored procedure scripts
create procedure proc_test9(in score int)
begin
case
when score > 90 and score <= 100 then select 'a';
when score > 80 then select 'b';
when score > 70 then select 'c';
else select 'd';
end case;
end;


边栏推荐
- Semaphore
- GBase 8c 访问权限查询函数(一)
- 采坑websocket總結
- High number_ Chapter 2 differential calculus of multivariate functions__ Geometric application of partial derivatives_ Tangent and normal plane of space curve
- There are various signs that apple is expected to support AV1
- GBase 8c 二进制字符串操作符
- Understanding polymorphism and letting different "people" do the same thing will produce different results
- Gbase 8C access authority query function (6)
- Gbase 8C access authority query function (II)
- How can dbcontext support the migration of different databases in efcore advanced SaaS system
猜你喜欢

Classic example of C language - convert the input two digits into English

泛型机制和增强for循环

English语法_指示代词 - So

XXL job realizes the code parsing of email sending warnings (line by line code interpretation)

PHP implements stripe subscription

SAP 实施项目中涉及到编程方式操作 Excel 的几种场景介绍

php实现 Stripe订阅

Flutter | specifies the type of page return value

How to realize 485 wireless communication between multiple sensors and Siemens PLC?

The prediction of domestic AI protein structure reproduced a breakthrough and solved the 3D structure with a single sequence. Peng Jian's team: "the last piece of puzzle since alphafold2 has been comp
随机推荐
MySQL client to server character set conversion
Don't let Fujin Yibo see this
Detailed overview of data standards -2022
English grammar_ Demonstrative pronoun - so
CA digital certificate
The most basic code interpretation of C language
Communication module sorting (II) hc-05
Classic examples of C language switch case statement conversion date format
Flutter | the easiest way to add header and footer to listview
GBase 8c 模式可见性查询函数(一)
sed 深入理解与使用
Coloring old photos - deoldify get started quickly
分布式之 CAP 原则
C language: deep analysis of const keyword
Mobile terminal H5 - a lifeline timeline
Redis cluster hash sharding algorithm (slot location algorithm)
The implementation in Oracle replaces the specified content of the specified column with the desired content
Tencent cloud was affirmed by international professional streaming media evaluation: video coding performance is the best in all three scenarios
Gbase 8C system table information function (II)
php实现 Stripe订阅