mysql - TabIncorrect syntax near '–' -
select * yogatimetable; delete yogatimetable yogaid in (select ytt.yogaid, yr.roomcapacity * yt.classprice grossprofit, ytt.duration / 60 durationinhours yogarooms yr, yogatypes yt, yogatimetable ytt ytt.roomnum = yr.roomnum , grossprofit – (yr.costperhour * durationinhours) < 200); select * yogatimetable;
i don't know wrong code whenever try run it says incorrect syntax near -. goal delete classes make less 200$ profit. tables included.
you have other character called en dash(u+2013) –
need hyphen-minus(u+002d) -
.
Comments
Post a Comment