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='0') LIMIT 400,20