Basta mettere

select * from tabella
Where datax >= 'data_inizio'
and datax <= 'data_fine'