select * from letter where type='membersformprerequisite' and (sid='' or sid='0') failed: