CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR)
WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000?
SELECT MAX(match) FROM table_name_99 WHERE venue = "h" AND date = "22 september 1888" AND attendance < 4 OFFSET 000
SELECT match FROM table_name_99 WHERE venue = 'h' AND date = '22 september 1888' AND CAST(REPLACE(attendance, ',', '') AS INTEGER) < 4000;