Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR)
### Question:
When total goals is 11 what was the league apps (sub)?
### Answer:
SELECT MAX(league_apps__sub_) FROM table_1112176_1 WHERE total_goals = 11