Return all distinct detention type codes.
CREATE TABLE Detention (detention_type_code VARCHAR)
SELECT DISTINCT detention_type_code FROM Detention
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Detention (detention_type_code VARCHAR) Question: Return all distinct detention type codes. [/INST] SELECT DISTINCT detention_type_code FROM Detention </s>