SELECT t.id,t.f_store_mobile,t.f_store_name,t.f_guardian FROM table1 t WHERE EXISTS (SELECT a.id FROM table1 AS a WHERE a.aa='') LIMIT 1000;