select * from tabela where relacionamentos like '%.10641.%' and data like '%/1989' and (tipo=11 or tipo=1) order by data asc 29651-01/01/1989 29355-01/01/1989 5133-01/01/1989 3053-01/01/1989 8667-01/01/1989 27777-01/01/1989 3051-01/01/1989 23981-01/01/1989 29466-01/01/1989 16438-01/01/1989 3052-01/01/1989 15995-04/01/1989 24981-28/04/1989 16628-14/05/1989 17548-01/07/1989 3057-13/07/1989 6061-25/11/1989 16034-11/12/1989 BANO:61296516129355515133513053518667612777751305161239816129466611643851305261159956124981611662861175485130575160616116034