Table: restaurant_miniature_buffet
Columns: lot_no
diagram
built
builder
fleet_numbers

Question: What is the total diagram for builder york?
SQL: SELECT SUM("diagram") FROM restaurant_miniature_buffet WHERE "builder" = 'york'

Question: What fleet  numbers have a diagram less than 99 and built in 1960?
SQL: SELECT "fleet_numbers" FROM restaurant_miniature_buffet WHERE "diagram" < 99 AND "built" = '1960'

Question: What diagram built in 1962 has a lot number smaller than 30702?
SQL: SELECT MIN("diagram") FROM restaurant_miniature_buffet WHERE "built" = '1962' AND "lot_no" < 30702

Question: What builder has lot number 30702?
SQL: SELECT "builder" FROM restaurant_miniature_buffet WHERE "lot_no" = 30702