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_74588 ( "Learner driver" text, "Partner" text, "Driver's Age" real, "Years on learners" real, "Licence test attempts" real, "Passed Yet" text )

### Question ###
What is the average number of years on learners of the drivers over the age of 24 with less than 0 attempts at the licence test?

### Accurate SQL ###

SELECT AVG("Years on learners") FROM table_74588 WHERE "Driver's Age" > '24' AND "Licence test attempts" < '0'