CREATE TABLE table_name_48 (attendance_g INT, tms INT)

What was Attendance/G with Tms more than 18?
SELECT AVG(attendance_g) FROM table_name_48 WHERE tms > 18
SELECT AVG("attendance_g") FROM "table_name_48" WHERE "tms" > 18