I have this simple SQL query which I am trying to run for a uni project. I’m getting the error in the title however I’ve ran a very similar query with no problem.
select booking.customer_id, booking_start_date
SUM(total_cost) sales
from booking
order by 2 desc
Thanks in advance.
You have missed a
,afterbooking_start_date.Try –