SELECT w.*,
t.name as trainer_name,
c.name as client_name
FROM workout w
INNER JOIN trainers t ON t.id = w.trainer
INNER JOIN clients c ON c.id = w.client
WHERE w.day = DAYOFMONTH(NOW())
AND w.month = MONTH(NOW())
AND w.year = YEAR(NOW())