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 station ( long INTEGER, id VARCHAR, station_id VARCHAR, bikes_available INTEGER )
TABLE: CREATE TABLE status ( long INTEGER, id VARCHAR, station_id VARCHAR, bikes_available INTEGER )

### Question ###
What is the average longitude of stations that never had bike availability more than 10?

### Accurate SQL ###

SELECT AVG(long) FROM station WHERE NOT id IN (SELECT station_id FROM status GROUP BY station_id HAVING MAX(bikes_available) > 10)