question: What is the highest league goals that have barry endean as the name, wirh FA cup apps greater than 0?
answer: SELECT MAX(league_goals) FROM table_name_46 WHERE name = "barry endean" AND fa_cup_apps > 0
context: CREATE TABLE table_name_46 (league_goals INTEGER, name VARCHAR, fa_cup_apps VARCHAR)