Feedback
SELECT
training.time,
training.horse,
training.trainer,
training.jockey,
training.`type`,
horse.owner
FROM DH_training training
LEFT JOIN DH_horse horse ON horse.id = training.horse
WHERE AND time>CURDATE() ORDER BY time ASC; : 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 'AND time>CURDATE() ORDER BY time ASC' at line 10
[-Hide comments-]
Someone forgot to put horse id in where clause