Updated view with formatted SQL.