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