select * from tabela where relacionamentos like '%.10641.%' and data like '%/1784' and (tipo=11 or tipo=1) order by data asc 6122-01/01/1784 6657-01/01/1784 21671-13/03/1784 29206-12/06/1784 28067-22/06/1784 1801-07/07/1784 18991-07/07/1784 BANO:5161225166576121671612920661280675118016118991