📅  最后修改于: 2022-03-11 15:05:04.999000             🧑  作者: Mango
代码示例1
SELECT CASE col1
WHEN 'agree' THEN 'Ok'
ELSE
CASE
WHEN col2 >= 1 THEN 'Ko'
ELSE 'Maybe'
END
END AS my_result
FROM table_name;