SELECT * FROM tbl_uploads WHERE UP_PAGINA = 'textos' AND UP_REGISTRO = '' ORDER BY UP_CODIGO ASC