1. SELECT applicationId FROM `light_record` 2. where applicationId is not null 3. group by applicationId having count(applicationId) > 1
1. SELECT applicationId FROM `light_record` 2. where applicationId is not null 3. group by applicationId having count(applicationId) > 1