Advertisement
Guest User

Untitled

a guest
May 6th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. select * from minha_tabela
  2. where codigo = 2
  3.  
  4. select min(data_inicio), max(data_fim), min(hora_inicio), max(hora_fim)
  5. from minha_tabela
  6. where codigo = 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement