Check out example codes for "mysql all columns". It will help you in understanding the concepts better.

Code Example 1

-- MySQL
SELECT * 
FROM INFORMATION_SCHEMA.COLUMNS;

Code Example 2

SHOW COLUMNS FROM mydb.mytable;

Learn ReactJs, React Native from akashmittal.com