So ... I have a table that has a sequenc
, a num
, a dt_inicial
, and a dt_final
.
My question is: how to make a Select
that takes the data between dt_inicial
and dt_final
showing num
between them?
Example of how I wish:
select * from tabela where dt_inicial => (valores entre eles) <=dt_final mostrando o num