Answers for "mysql list of columns in table"

SQL
1

MySql get fields of table

SELECT COLUMN_NAME
  FROM INFORMATION_SCHEMA.COLUMNS
  WHERE TABLE_SCHEMA = 'my_database' AND TABLE_NAME = 'my_table';
Posted by: Guest on November-03-2020
2

mysql show table fields

DESCRIBE my_table;
Posted by: Guest on October-25-2020
0

list in one column mysql

country table
-------------
id
name
other_column


rule table
----------
id
name
other_column


countryrules table
------------------
country_id
rule_id
Posted by: Guest on September-08-2020

Code answers related to "mysql list of columns in table"

Code answers related to "SQL"

Browse Popular Code Answers by Language