user: ### NOW ANSWER:
Question: When the Year is smaller than 2004, and Mike Joy is the Lap-by-lap, what are the Ratings?
Columns: ['Year', 'Network', 'Lap-by-lap', 's Color commentator', 'Pre-Race Host', 'Ratings']
Types: ['real', 'text', 'text', 'text', 'text', 'text']
Sample row: [2001.0, 'Fox', 'Mike Joy', 'Darrell Waltrip Larry McReynolds', 'Chris Myers', '10.0/24']
SQL:

assistant: SELECT "Ratings" FROM "Table" WHERE "Year" < 2004.0 AND "Lap-by-lap" = 'Mike Joy';