Those columns were removed in Kentico 11(screen shot) so the upgrade procedure removed them too. It looks like something was not upgraded right and I would maybe restore the backups and upgrade again. Also, due to these changes, there could be some issues when working with orders created before the upgrade.
But still, the SQL query should be using the new column names - I think the upgrade did not completed all OK. Was the admin app launched after the upgrade as described here? Did you get the entries in the Event log?