question: What is the average total of player Simon Donnelly, with a Scottish Cup greater than 0?
answer: SELECT AVG(total) FROM table_name_2 WHERE player = "simon donnelly" AND scottish_cup > 0
context: CREATE TABLE table_name_2 (total INTEGER, player VARCHAR, scottish_cup VARCHAR)