SELECT orders.order_id, orders.STATUS, user.first_name, user.last_name, orders.total, orders.order_date FROM orders INNER JOIN user ON orders.user_id = user.user_id LIMIT 0,5 ASC orders.order_id;
A wywala mi coś takiego:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC orders.order_id' at line 1
i nie mogę za nic tego posortować według mojego zamiaru.
Z góry dzięki za pomoc