select user_id from ec_gift_certificates where gift_certificate_id=:gift_certificate_id