Database schema:

CREATE TABLE city (
	city_id INTEGER -- example: ['101', '100'],
	city_name TEXT -- example: ['Union City', 'Huntington Park'],
	state TEXT -- example: ['New Jersey', 'California'],
	population INTEGER -- example: ['61348', '67088'],
	area REAL -- example: ['1.3', '3.0'],
	PRIMARY KEY (city_id)
)


CREATE TABLE customer (
	cust_id INTEGER -- example: ['304', '193'],
	cust_name TEXT -- example: ["Pard's Trailer Sales", 'Advanced Fabricators'],
	annual_revenue INTEGER -- example: ['17158109', '39588651'],
	cust_type TEXT -- example: ['manufacturer', 'wholesaler'],
	address TEXT -- example: ['5910 South 300 West', '5141 Summit Boulevard'],
	city TEXT -- example: ['West Palm Beach', 'Salt Lake City'],
	state TEXT -- example: ['UT', 'FL'],
	zip REAL -- example: ['84107.0', '33415.0'],
	phone TEXT -- example: ['(561) 683-3535', '(801) 262-4864'],
	PRIMARY KEY (cust_id)
)


CREATE TABLE driver (
	driver_id INTEGER -- example: ['20', '21'],
	first_name TEXT -- example: ['Andrea', 'Sue'],
	last_name TEXT -- example: ['Simons', 'Newell'],
	address TEXT -- example: ['3574 Oak Limb Cv', '268 Richmond Ave'],
	city TEXT -- example: ['Memphis'],
	state TEXT -- example: ['TN'],
	zip_code INTEGER -- example: ['38135', '38106'],
	phone TEXT -- example: ['(901) 774-6569', '(901) 384-0984'],
	PRIMARY KEY (driver_id)
)


CREATE TABLE shipment (
	ship_id INTEGER -- example: ['1000', '1001'],
	cust_id INTEGER -- example: ['3660', '2001'],
	weight REAL -- example: ['3528.0', '11394.0'],
	truck_id INTEGER -- example: ['2', '1'],
	driver_id INTEGER -- example: ['23', '27'],
	city_id INTEGER -- example: ['186', '137'],
	ship_date TEXT -- example: ['2016-01-18', '2016-01-08'],
	PRIMARY KEY (ship_id), 
	CONSTRAINT fk_shipment_customer FOREIGN KEY(cust_id) REFERENCES customer (cust_id),
	CONSTRAINT fk_shipment_city FOREIGN KEY(city_id) REFERENCES city (city_id),
	CONSTRAINT fk_shipment_driver FOREIGN KEY(driver_id) REFERENCES driver (driver_id),
	CONSTRAINT fk_shipment_truck FOREIGN KEY(truck_id) REFERENCES truck (truck_id)
)


CREATE TABLE truck (
	truck_id INTEGER -- example: ['2', '1'],
	make TEXT -- example: ['Mack', 'Peterbilt'],
	model_year INTEGER -- example: ['2005', '2006'],
	PRIMARY KEY (truck_id)
)

Question: Identify the total weight of shipments transported in 2016 by the newest Peterbilt.
Evidence: transported in 2016 refers to CAST(ship_date as DATE) = 2016; 'Peterbilt' is the make; newest refers to Max(model_year)

SQL:
SELECT SUM(T2.weight) FROM truck AS T1 INNER JOIN shipment AS T2 ON T1.truck_id = T2.truck_id WHERE T1.make = 'Peterbilt' AND STRFTIME('%Y', T2.ship_date) = '2016' ORDER BY T1.model_year DESC LIMIT 1