Computer scienceFundamentalsSQL and DatabasesDBMSMongoDBOperations and operatorsCRUD operations

Update Operations

Schedule

Report a typo

An airport has a database flights that stores information about all the flights that have arrived at the airport. The database has these fields: id, plane, fromAirport, arriveHour, and arriveMinute.

One of the flights with 757 identity number is late for 40 minutes and arrived at 17:55 instead of 17:15. The current record of this flight looks like this:

{
  id: 757,
  plane: "Airbus 320",
  fromAirport: "JFK",
  arriveHour: 17,
  arriveMinute: 15
}

Change the record information according to the actual arrival time.

Enter a short text
___

Create a free account to access the full topic