select * from tabela where relacionamentos like '%.787.%' and data like '%/1975' and (tipo=11 or tipo=1) order by data asc 24558-01/01/1975 14621-04/06/1975 8989-18/06/1975 14622-27/06/1975 7189-22/10/1975 8077-01/11/1975 BANO:612455861146215189896114622517189518077