Answers for "list all columns in a table mysql"

SQL
2

get the mysql table columns data type mysql

SHOW COLUMNS FROM mydb.mytable;
Posted by: Guest on April-16-2020
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
0

mysql all columns

-- MySQL
SELECT * 
FROM INFORMATION_SCHEMA.COLUMNS;
Posted by: Guest on May-15-2020
1

mysql list table columns

DESCRIBE [TABLE_NAME];
Posted by: Guest on July-01-2021
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 "list all columns in a table mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language