What are the statement ids of those accounts, please?
SELECT Statement_ID FROM  Accounts WHERE Account_details LIKE "%5%"
accounts with details containing '5' refers to Account_details LIKE \"%5%\"; statement ids of those accounts refers to Statement_ID;