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_47 (total_attempts INTEGER, percentage VARCHAR, service_aces VARCHAR)

### Question ###
When there is less than 13 services aces with a percentage greater than 0.34900000000000003, what is the smallest total attempts?

### Accurate SQL ###

SELECT MIN(total_attempts) FROM table_name_47 WHERE percentage > 0.34900000000000003 AND service_aces < 13