SQl for event_invite table