Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_57266 ( "Year" real, "Network" text, "Lap-by-lap" text, "s Color commentator" text, "Pre-Race Host" text, "Ratings" text )

### Question ###
When the Year is smaller than 2004, and Mike Joy is the Lap-by-lap, what are the Ratings?

### Accurate SQL ###

SELECT "Ratings" FROM table_57266 WHERE "Year" < '2004' AND "Lap-by-lap" = 'mike joy'