What was the average tonnage for Beatus, raided on 18 October 1940?
CREATE TABLE table_name_87 (tonnage INTEGER, date VARCHAR, name_of_ship VARCHAR)
SELECT AVG(tonnage) FROM table_name_87 WHERE date = "18 october 1940" AND name_of_ship = "beatus"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (tonnage INTEGER, date VARCHAR, name_of_ship VARCHAR) Question: What was the average tonnage for Beatus, raided on 18 October 1940? [/INST] SELECT AVG(tonnage) FROM table_name_87 WHERE date = "18 october 1940" AND name_of_ship = "beatus" </s>