SELECT SQL_CALC_FOUND_ROWS distinct a.* from programas a inner join programas_versiones b on a.id_programa=b.id_programa WHERE (b.driver='1') LIMIT 480,20