I think that what you’re after is DESCRIBE
DESCRIBE table;
You can also use SHOW TABLES
SHOW TABLES;
to get a list of the tables in your database.
More Related Contents:
- Create a Cumulative Sum Column in MySQL
- Equivalent of explode() to work with strings in MySQL
- 1064 error in CREATE TABLE … TYPE=MYISAM
- mysql select dynamic row values as column names, another column as value
- Access denied for user ‘root’@’localhost’ (using password: YES) (Mysql::Error)
- MySQL DELETE FROM with subquery as condition
- SQL – IF EXISTS UPDATE ELSE INSERT INTO
- SELECT / GROUP BY – segments of time (10 seconds, 30 seconds, etc)
- Simple Random Samples from a Sql database
- node.js mysql error: ECONNREFUSED
- Relational database design multiple user types
- MySQL Select Date Equal to Today (having datetime as the data type)
- Count table rows
- mysql root password forgotten
- How to deploy local MySQL database to Heroku
- Should I use MySQL blob field type?
- How to lock a single row
- MySQL Cannot drop index needed in a foreign key constraint
- MySQL Insert & Joins
- Does MySQL overwrite a column of same value on update?
- How to join two tables using a comma-separated-list in the join field
- mysql like performance boost
- MySQL selecting yesterday’s date
- Does MySQL included with MAMP not include a config file?
- How do I write an SP in phpMyAdmin (MySQL)?
- ALTER TABLE ADD COLUMN takes a long time
- Creating MYSQL Procedure in Laravel 4 Migrations
- MySQL: Computed Column
- Mysql server does not support 4-byte encoded utf8 characters
- Default sort-ordering in MySQL (ALTER TABLE … ORDER BY …;)