CREATE TABLE table_name_51 (played INTEGER, against VARCHAR(255), position VARCHAR(255), lost VARCHAR(255), points VARCHAR(255))
What is the average number of played of the team with 3 losses, more than 9 points, a position of 5, and less than 12 against?
    
SQL: SELECT AVG(played) FROM table_name_51 WHERE lost = 3 AND points > 9 AND position = 5 AND against < 12