user: ### NOW ANSWER:
Question: Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494?
Columns: ['Name', 'Years', 'League', 'Scottish Cup', 'League Cup', 'Europe', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Willie Miller Category:Articles with hCards', '1972–1990', 561.0, 66.0, 109.0, 61.0, 797.0]
SQL:

assistant: SELECT AVG("Total") FROM "Table" WHERE "Name" = 'alex mcleish category:articles with hcards' AND "League" < 494.0;