SELECT cust_no,cust_name,e.b FROM `cust_info`LEFT JOIN (SELECT COUNT(*)b from cust_info) e on 1=1 LIMIT 2,3