What are the account details with the largest value or with value having char '5' in it?
CREATE TABLE Accounts (Account_details INTEGER)
SELECT MAX(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE "%5%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Accounts (Account_details INTEGER) Question: What are the account details with the largest value or with value having char '5' in it? [/INST] SELECT MAX(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE "%5%" </s>