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