SQL Error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY time_time ASC' at line 1
SELECT t.*, f.*
FROM `time` as t, `ferry` as f where t.time_cate
= f.ferry_id
AND f.ferry_id
= ORDER BY time_time ASC