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_name_43 ( rank_by_average INTEGER, number_of_dances VARCHAR, total VARCHAR, average VARCHAR )

### Question ###
What is the rank by average where the total was larger than 245 and the average was 27.1 with fewer than 15 dances?

### Accurate SQL ###

SELECT AVG(rank_by_average) FROM table_name_43 WHERE total > 245 AND average = 27.1 AND number_of_dances < 15