Skip to content

Instantly share code, notes, and snippets.

@sezemiadmin
Created May 18, 2018 01:10
Show Gist options
  • Save sezemiadmin/ec5c0b0926602d0ef896941711c64b7f to your computer and use it in GitHub Desktop.
Save sezemiadmin/ec5c0b0926602d0ef896941711c64b7f to your computer and use it in GitHub Desktop.
desc table_name
mysql> desc FIRST_TEST;
+------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+-------------+------+-----+---------+-------+
| ID | int(11) | YES | | NULL | |
| NAME | varchar(32) | YES | | NULL | |
| CREATED_AT | datetime | YES | | NULL | |
+------------+-------------+------+-----+---------+-------+
3 rows in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment