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