Ive a Great selected case in Prof.
(select case tb_usuario.int_id_cargo
when 13
then 20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53
when 20
then
when 21
then 20
when 22
then
when 23
then 22
when 24
then 20,21,22,23
when 25
then 20,21,22,23,24
when 26
then 20,21,22,23,24,25
when 27
then
when 28
then 27
when 29
then
when 30
then 29
when 31
then 27,28
when 32
then 27,28,31
when 33
then 29,30
when 34
then 27,28,29,30,31,32,33
when 35
then
else
end) as subs
如果你注意的话,你会认识到,有许多案例会恢复空洞。 我要检查那些在单一案件中返回空洞的人,即:
(select case tb_usuario.int_id_cargo
when 20,22,27,29,35
then
[...]
这是可能的吗?