SELECT RPAD(Accidents.ID, 10) As "AccidentID",
RPAD(Vehicle.ID, 10) As "VehicleID",
RPAD(DateAndTime, 10) As "When"
FROM Accidents, Ac_v, Vehicle
WHERE Accidents.ID = AccidentID
      AND VehID = Vehicle.ID;
