Posts by Vinicius Masson • 21 points
1 post
-
1
votes1
answer63
viewsQ: Values of the IN clause as a parameter for in a column subselect
I need to pass all the values of a clause IN, for a subselect one-column. Ex: SELECT distinct 'Atendimentos' Tipo, to_char(A.DT_ATENDIMENTO, 'mm/yyyy') Competencia, pre.cd_prestador, se.cd_setor,…