´╗┐select * from teb1bukk as b where b.eb1price>0 and b.eb1rdate > '2018-05-22' and (b.eb1sykbn=0 or b.eb1sykbn=1 or (b.eb1sykbn=9 and b.eb1rdate > '2018-08-16')) and () and b.eb1kakusi = 0 and b.eb1pikbn <> 1sql error5