Answers for "mysql get column name without using information_schema"

SQL
0

mysql to get column name in database

SELECT table_name, column_name from information_schema.columns WHERE column_name LIKE '%column_name_to_search%';
Posted by: Guest on October-30-2020
0

how to output a different column name in mysql

-- MySQL

SELECT column1 AS name1, column2 AS name2
FROM table1;

-- AS allows your to replace the name of a column when outputting but does not
-- actually change the column name within the database.
Posted by: Guest on July-22-2020

Code answers related to "mysql get column name without using information_schema"

Code answers related to "SQL"

Browse Popular Code Answers by Language