Fórum Duvida maior data SQL #613920
28/01/2021
0
https://imgur.com/8qpJODX

Marcelo
Curtir tópico
+ 0Posts
28/01/2021
Emerson Nascimento
1 2 3 4 5 6 7 8 9 | select armazem, max ( datamov ) datamov from tabela where group by armazem |
Gostei + 0
28/01/2021
Marcelo
1 2 3 4 5 6 7 8 9 | select armazem, max ( datamov ) datamov from tabela where group by armazem |
desculpa minha ignorância Emerson, mas eu não entendi esse código :/, fiz desse modo mas não deu certo
select
stoloc,
max( lstdte)>= (''05/07/2018'') ) datamov
from
INVENTORY_VIEW
where
group by
stoloc
Gostei + 0
28/01/2021
Emerson Nascimento
1 2 3 4 5 6 7 8 9 | select stoloc, max (lstdte) maiordata from INVENTORY_VIEW where trunc(lstdte) between ( '05/07/2018' ) and ( '28/01/2021' ) group by stoloc |
Gostei + 0
28/01/2021
Marcelo
1 2 3 4 5 6 7 8 9 | select stoloc, max (lstdte) maiordata from INVENTORY_VIEW where trunc(lstdte) between ( '' 05/07/2018 '' ) and ( '' 28/01/2021 '' ) group by stoloc |
deu certinho cara te amo, mt obg!
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)