Created
October 11, 2012 10:06
-
-
Save CodeIQ/3871397 to your computer and use it in GitHub Desktop.
20121022_2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> desc SALES; | |
+----------------+---------+------+-----+---------+-------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+----------------+---------+------+-----+---------+-------+ | |
| SALES_DATE | date | YES | MUL | NULL | | | |
| SALES_VOLUME | int(11) | YES | | 0 | | | |
| SALESPERSON_ID | int(11) | NO | PRI | NULL | | | |
+----------------+---------+------+-----+---------+-------+ | |
mysql> desc SALESPERSON; | |
+------------------+--------------+------+-----+---------+-------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+------------------+--------------+------+-----+---------+-------+ | |
| SALESPERSON_ID | mediumint(9) | NO | PRI | NULL | | | |
| SALESPERSON_NAME | varchar(255) | NO | | NULL | | | |
+------------------+--------------+------+-----+---------+-------+ | |
mysql> desc SALES_REPORT; | |
+---------------------------+---------+------+-----+------------+-------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+---------------------------+---------+------+-----+------------+-------+ | |
| SALES_DATE | date | NO | PRI | 0000-00-00 | | | |
| INSERT_SALESPERSON_NUMBER | int(11) | YES | | 0 | | | |
| TOTAL_SALES_VOLUME | int(11) | YES | | 0 | | | |
+---------------------------+---------+------+-----+------------+-------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment