To obtain the name of a column in a table, you can use the SQL query:
SELECT column_name FROM information_schema.columns WHERE table_name = 'your_table_name';
Replace your_table_name
with the name of your table. This query will return a list of all the column names in the specified table.
Asked: 2023-06-26 11:31:07 +0000
Seen: 7 times
Last updated: Jun 26 '23