Posts by Flavio Rangel de Souza • 1 point
1 post
-
0
votes2
answers40
viewsQ: Using formula in SQL
Hello, I’m having a doubt and I can not find examples to progress, following: select 'disponivel' as TIPO , COUNT(distinct dp.ds_nome) as qtd FROM dm_pessoa_treino dp union ALL select 'em_uso' as…