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
select armazem, max( datamov ) datamov from tabela where group by armazem
Gostei + 0
28/01/2021
Marcelo
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
select
stoloc,
max(lstdte) maiordata
from
INVENTORY_VIEW
where
trunc(lstdte) between ('05/07/2018') and ('28/01/2021')
group by
stolocGostei + 0
28/01/2021
Marcelo
select
stoloc,
max(lstdte) maiordata
from
INVENTORY_VIEW
where
trunc(lstdte) between (''05/07/2018'') and (''28/01/2021'')
group by
stolocdeu certinho cara te amo, mt obg!
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)