### Database Schema:
CREATE TABLE Airlines (
	FL_DATE	TEXT	NULL,
	OP_CARRIER_AIRLINE_ID	INTEGER	NULL,
	TAIL_NUM	TEXT	NULL,
	OP_CARRIER_FL_NUM	INTEGER	NULL,
	ORIGIN_AIRPORT_ID	INTEGER	NULL,
	ORIGIN_AIRPORT_SEQ_ID	INTEGER	NULL,
	ORIGIN_CITY_MARKET_ID	INTEGER	NULL,
	ORIGIN	TEXT	NULL,
	DEST_AIRPORT_ID	INTEGER	NULL,
	DEST_AIRPORT_SEQ_ID	INTEGER	NULL,
	DEST_CITY_MARKET_ID	INTEGER	NULL,
	DEST	TEXT	NULL,
	CRS_DEP_TIME	INTEGER	NULL,
	DEP_TIME	INTEGER	NULL,
	DEP_DELAY	INTEGER	NULL,
	DEP_DELAY_NEW	INTEGER	NULL,
	ARR_TIME	INTEGER	NULL,
	ARR_DELAY	INTEGER	NULL,
	ARR_DELAY_NEW	INTEGER	NULL,
	CANCELLED	INTEGER	NULL,
	CANCELLATION_CODE	TEXT	NULL,
	CRS_ELAPSED_TIME	INTEGER	NULL,
	ACTUAL_ELAPSED_TIME	INTEGER	NULL,
	CARRIER_DELAY	INTEGER	NULL,
	WEATHER_DELAY	INTEGER	NULL,
	NAS_DELAY	INTEGER	NULL,
	SECURITY_DELAY	INTEGER	NULL,
	LATE_AIRCRAFT_DELAY	INTEGER	NULL,
	foreign key (ORIGIN) references Airports (Code),
	foreign key (OP_CARRIER_AIRLINE_ID) references `Air Carriers` (Code),
	foreign key (DEST) references Airports (Code)
);

CREATE TABLE Airports (
	Code	TEXT	NULL	PRIMARY KEY,
	Description	TEXT	NULL
);

CREATE TABLE `Air Carriers` (
	Code	INTEGER	NULL	PRIMARY KEY,
	Description	TEXT	NULL
);

### User's Query:
How many hours in total did all of the Delta Air Lines aircraft were delayed due to a late aircraft in August of 2018? Identify the plane number of the aircraft with the highest delayed hours.

### Extra Knowledge:
hours in total = DIVIDE(SUM(LATE_AIRCRAFT_DELAY), 60); Delta Air Lines refers to Description = 'Delta Air Lines Inc.: DL'; delayed due to a late aircraft refers to LATE_AIRCRAFT_DELAY; in August of 2018 refers to FL_DATE like '2018/8/%'; plane number refers to TAIL_NUM; highest delayed hours refers to MAX(DIVIDE(SUM(LATE_AIRCRAFT_DELAY),60));
SELECT T1.TAIL_NUM, SUM(CAST(T1.LATE_AIRCRAFT_DELAY AS REAL) / 60) AS delay FROM Airlines AS T1 INNER JOIN `Air Carriers` AS T2 ON T2.Code = T1.OP_CARRIER_AIRLINE_ID WHERE T1.FL_DATE LIKE '2018/8/%' AND T2.Description = 'Delta Air Lines Inc.: DL' ORDER BY delay DESC LIMIT 1