CREATE TABLE table_name_64 (games_played INTEGER, points VARCHAR, draws VARCHAR, loses VARCHAR)
What is the highest number of games played for teams with 3 draws, 5 losses, and under 39 points?
SELECT MAX(games_played) FROM table_name_64 WHERE draws = 3 AND loses = 5 AND points < 39