SELECT SQL_CALC_FOUND_ROWS DISTINCT p.id_programa, p.nombre_programa FROM programas as p inner join programas_versiones v on p.id_programa=v.id_programa WHERE (v.driver='0' and p.nombre_programa like '%%') order by p.id_programa LIMIT 280,20