question: Which class is smaller than 5 and the GWR is 1322–1323?
answer: SELECT class FROM table_name_33 WHERE quantity < 5 AND gwr_nos = "1322–1323"
context: CREATE TABLE table_name_33 (class VARCHAR, quantity VARCHAR, gwr_nos VARCHAR)