Database: retails
Question: How many of the line items have been shipped by rail with a quantity less than 30?
SQL: SELECT COUNT(l_linenumber) FROM lineitem WHERE l_quantity < 30 AND l_shipmode = 'RAIL'