case when ... then .. when .. then ... end
这种表达式,是sql的不同条件分支结果。
举例如下,
1、创建剞麽苍足数据表,create table test_student(stu_id number, class_id number);
3、查询表中数据,select * fromtest_student ,
时间:2024-10-13 05:00:52
case when ... then .. when .. then ... end
这种表达式,是sql的不同条件分支结果。
举例如下,
1、创建剞麽苍足数据表,create table test_student(stu_id number, class_id number);
3、查询表中数据,select * fromtest_student ,