Olá,
Tenho uma tabela com vários registros e gostaria de colocar na mesma linha exemplo:
data hora Entrada
10/01/2011 08:00 1
10/01/2011 12:00 2
10/01/2011 14:00 3
10/01/2011 18:00 4
Utilizando o CTE tem como fazer alguma rotina para deixar na mesma linha tipo assim:
data hora 1 hora 2 hora 3 hora4
10/01/2011 08:00 12:00 14:00 18:00
Muito obrigado
André Gusdtavo