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