pay_result[pay_end] =
SELECT site_srl FROM `xe_sites` where title ='sm_edu'
SELECT pay_end FROM xe_cafe_pay WHERE site_srl = '39480' and user_id = '' and (TO_DAYS( now( ) ) - TO_DAYS( pay_end )) >0
SELECT name FROM xe_lang WHERE site_srl = '39480' AND value = '준회원'
SELECT group_srl FROM xe_member_group WHERE site_srl = '39480' AND title like '%%'
UPDATE xe_member_group_member SET group_srl = '' WHERE site_srl = '39480' and member_srl = ''