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. tables

you have other character called en dash(u+2013) need hyphen-minus(u+002d) -.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -