I have a table, TABLEA with columns, ID and CAT Name. I would like to run a query that outputs the column CAT with its values replaced in values in the ID column. could someone please help?
ID(0, 1, 2, 3, 4, 5)
CAT(leo, toby, oliver, blade, milo)
I want the output to be: CAT(0, 1, 2, 3, 4, 5)
SELECT ID as CAT from yourtable
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.