select * from tabela where relacionamentos like '%.10641.%' and data like '%/1880' and (tipo=11 or tipo=1) order by data asc 6871-01/01/1880 27069-01/01/1880 15697-01/01/1880 17297-01/01/1880 17785-01/01/1880 26033-01/01/1880 25589-01/01/1880 2141-01/01/1880 15835-01/01/1880 23750-01/01/1880 28037-01/01/1880 6077-01/01/1880 25083-01/01/1880 15837-01/01/1880 5039-01/01/1880 19686-02/04/1880 25027-03/04/1880 22847-10/04/1880 19121-10/04/1880 25408-21/04/1880 24887-23/04/1880 30122-04/05/1880 6363-15/05/1880 6600-16/05/1880 19122-18/05/1880 5179-15/06/1880 8657-01/07/1880 9406-01/08/1880 14782-04/12/1880 7877-07/12/1880 5086-31/12/1880 BANO:51687161270696115697611729761177856126033612558951214161158356123750612803751607761250836115837515039611968661250276122847611912161254086124887613012251636351660061191225151795186575194066114782517877515086