[ { "question": "Where is vehicle JH11AG0663?", "answer": "SELECT id AS trip_id, status, gateOut FROM transactionalplms.trip WHERE vehicleNumber = 'JH11AG0663' ORDER BY gateOut DESC LIMIT 1;" }, { "question": "How many vehicles are currently at our plant?", "answer": "SELECT COUNT(*) AS vehicle_count FROM transactionalplms.trip WHERE mapPlantStageLocation = 'YARD-IN';" }, { "question": "When did vehicle JH11AG0663 complete tareweight?", "answer": "SELECT packingOut FROM transactionalplms.trip WHERE vehicleNumber = 'JH11AG0663' ORDER BY packingOut DESC LIMIT 1;" }, { "question": "Who is the assigned driver for vehicle JH09AR8268?", "context": "CREATE TABLE department (budget_in_billions INTEGER)", "answer": "SELECT driverId FROM transactionalplms.trip WHERE vehicleNumber = 'JH09AR8268' ORDER BY gateIn DESC LIMIT 1;" }, { "question": "When did vehicle UP32AA1010 enter the plant?", "answer": "SELECT gateIn FROM transactionalplms.trip WHERE vehicleNumber = 'JH09AR8268' ORDER BY gateIn DESC LIMIT 1;" }, { "question": "What goods are loaded in vehicle JH09AR8268?", "answer": "SELECT materialType_code FROM transactionalplms.trip WHERE vehicleNumber = 'JH09AR8268' ORDER BY gateIn DESC LIMIT 1;" }, { "question": "When did the last vehicle unload at the plant?", "answer": "SELECT gateOut FROM transactionalplms.trip WHERE mapPlantStageLocation = 'GATE-OUT' ORDER BY gateOut DESC LIMIT 1;" }, { "question": "What is the trip ID for vehicle JH09AR8268?", "answer": "SELECT tripId FROM transactionalplms.trip WHERE vehicleNumber = 'JH09AR8268' ORDER BY gateIn DESC LIMIT 1;" }, { "question": "Is trip TRIP9876 completed", "answer": "SELECT gateOut FROM transactionalplms.trip WHERE id = '20240418175619192' AND status = 'C' LIMIT 1;" } ]