3 | | MariaDB [adcproducts]> SHOW columns from products; |
4 | | +------------+-------------------------------------------------------------------------+------+-----+---------+----------------+ |
5 | | | Field | Type | Null | Key | Default | Extra | |
6 | | +------------+-------------------------------------------------------------------------+------+-----+---------+----------------+ |
7 | | | UID | int(32) | NO | PRI | NULL | auto_increment | |
8 | | | type | varchar(100) | YES | | NULL | | |
9 | | | name | varchar(100) | YES | | NULL | | |
10 | | | perfomance | varchar(100) | YES | | NULL | | |
11 | | | serial | varchar(100) | NO | UNI | NULL | | |
12 | | | date | date | YES | | NULL | | |
13 | | | owner | varchar(100) | YES | | NULL | | |
14 | | | location | enum('stock','shipped','develop','isolator','nelikvid','repair','work') | YES | | NULL | | |
15 | | | testing | enum('ok','fail','notest') | YES | | notest | | |
16 | | | otk | enum('ok','fail','nocheck') | YES | | NULL | | |
17 | | | mismatch | enum('yes','no') | YES | | no | | |
18 | | | repair | varchar(100) | YES | | NULL | | |
19 | | | comment | text | YES | | NULL | | |
20 | | +------------+-------------------------------------------------------------------------+------+-----+---------+----------------+ |
21 | | 13 rows in set (0.002 sec) |
| 3 | MariaDB [adcproducts]> Show columns from `products`; |
| 4 | +----------+-------------------------------------------------------------------------+------+-----+---------+----------------+ |
| 5 | | Field | Type | Null | Key | Default | Extra | |
| 6 | +----------+-------------------------------------------------------------------------+------+-----+---------+----------------+ |
| 7 | | UID | int(32) | NO | PRI | NULL | auto_increment | |
| 8 | | type | varchar(100) | YES | | NULL | | |
| 9 | | name | varchar(100) | YES | | NULL | | |
| 10 | | serial | varchar(100) | NO | UNI | NULL | | |
| 11 | | date | date | YES | | NULL | | |
| 12 | | owner | varchar(100) | YES | | NULL | | |
| 13 | | location | enum('stock','shipped','develop','isolator','nelikvid','repair','work') | YES | | NULL | | |
| 14 | | testing | enum('ok','fail','notest') | YES | | notest | | |
| 15 | | otk | enum('ok','fail','nocheck') | YES | | nocheck | | |
| 16 | | mismatch | enum('yes','no') | YES | | no | | |
| 17 | | repair | varchar(100) | YES | | NULL | | |
| 18 | | comment | text | YES | | NULL | | |
| 19 | +----------+-------------------------------------------------------------------------+------+-----+---------+----------------+ |
| 20 | 12 rows in set (0.001 sec) |
| 22 | MariaDB [adcproducts]> Show columns from `history`; |
| 23 | +--------------+---------------------------------------------------------------------------+------+-----+---------+----------------+ |
| 24 | | Field | Type | Null | Key | Default | Extra | |
| 25 | +--------------+---------------------------------------------------------------------------+------+-----+---------+----------------+ |
| 26 | | UID | int(32) | YES | | NULL | | |
| 27 | | worker | varchar(100) | YES | | NULL | | |
| 28 | | date | datetime | YES | | NULL | | |
| 29 | | type_write | enum('record','otk','mismatch','testing','repair','shipping','transform') | YES | | NULL | | |
| 30 | | order_from | varchar(100) | YES | | NULL | | |
| 31 | | whom_order | varchar(100) | YES | | NULL | | |
| 32 | | location | enum('stock','shipped','develop','isolator','nelikvid','repair','work') | YES | | NULL | | |
| 33 | | number_order | varchar(100) | YES | | NULL | | |
| 34 | | status | enum('ok','fail') | YES | | NULL | | |
| 35 | | comment | text | YES | | NULL | | |
| 36 | | protocol | varchar(100) | YES | | NULL | | |
| 37 | | N | int(11) | NO | PRI | NULL | auto_increment | |
| 38 | +--------------+---------------------------------------------------------------------------+------+-----+---------+----------------+ |
| 39 | 12 rows in set (0.002 sec) |
24 | | MariaDB [adcproducts]> SHOW columns from history; |
25 | | +--------------+---------------------------------------------------------------+------+-----+---------+-------+ |
26 | | | Field | Type | Null | Key | Default | Extra | |
27 | | +--------------+---------------------------------------------------------------+------+-----+---------+-------+ |
28 | | | UID | int(32) | YES | | NULL | | |
29 | | | worker | varchar(100) | YES | | NULL | | |
30 | | | date | datetime | YES | | NULL | | |
31 | | | type_write | enum('record','otk','mismatch','testing','repair','shipping','transform') | YES | | NULL | | |
32 | | | order_from | varchar(100) | YES | | NULL | | |
33 | | | whom_order | varchar(100) | YES | | NULL | | |
34 | | | location | enum('stock','shipped','develop','isolator','nelikvid','repair','work') | YES | | NULL | | |
35 | | | number_order | varchar(100) | YES | | NULL | | |
36 | | | status | enum('ok','fail') | YES | | NULL | | |
37 | | | comment | text | YES | | NULL | | |
38 | | | protocol | varchar(100) | YES | | NULL | | |
39 | | +--------------+---------------------------------------------------------------+------+-----+---------+-------+ |
40 | | 10 rows in set (0.002 sec) |
41 | | |
42 | | MariaDB [adcproducts]> SHOW columns from users; |
| 41 | MariaDB [adcproducts]> Show columns from `users`; |
53 | | MariaDB [adcproducts]> SHOW columns from list_of_products; |
54 | | +-------+--------------+------+-----+---------+-------+ |
55 | | | Field | Type | Null | Key | Default | Extra | |
56 | | +-------+--------------+------+-----+---------+-------+ |
57 | | | name | varchar(100) | YES | | NULL | | |
58 | | | type | varchar(100) | YES | | NULL | | |
59 | | +-------+--------------+------+-----+---------+-------+ |
60 | | 2 rows in set (0.004 sec) |
| 52 | MariaDB [adcproducts]> Show columns from `list_of_products`; |
| 53 | +--------+--------------+------+-----+---------+----------------+ |
| 54 | | Field | Type | Null | Key | Default | Extra | |
| 55 | +--------+--------------+------+-----+---------+----------------+ |
| 56 | | uid | int(32) | NO | PRI | NULL | auto_increment | |
| 57 | | name | varchar(100) | YES | UNI | NULL | | |
| 58 | | type | varchar(100) | YES | | NULL | | |
| 59 | | parent | int(32) | YES | | NULL | | |
| 60 | +--------+--------------+------+-----+---------+----------------+ |
| 61 | 4 rows in set (0.001 sec) |
62 | | MariaDB [adcproducts]> SHOW columns from orders; |
63 | | +-------------+------------------+------+-----+---------+-------+ |
64 | | | Field | Type | Null | Key | Default | Extra | |
65 | | +-------------+------------------+------+-----+---------+-------+ |
66 | | | UID | int(32) | YES | UNI | NULL | | |
67 | | | composition | text | YES | | NULL | | |
68 | | | recipient | varchar(100) | YES | | NULL | | |
69 | | | shipped | enum('yes','no') | YES | | NULL | | |
70 | | | comment | text | YES | | NULL | | |
71 | | +-------------+------------------+------+-----+---------+-------+ |
72 | | 5 rows in set (0.003 sec) |
| 63 | MariaDB [adcproducts]> Show columns from `orders`; |
| 64 | +-------------+---------------------------------------------------------------+------+-----+---------------------+-------+ |
| 65 | | Field | Type | Null | Key | Default | Extra | |
| 66 | +-------------+---------------------------------------------------------------+------+-----+---------------------+-------+ |
| 67 | | UID | int(32) | YES | UNI | NULL | | |
| 68 | | datetime | datetime | NO | | current_timestamp() | | |
| 69 | | deadline | date | YES | | NULL | | |
| 70 | | status | enum('created','accept','completed','verify','otk','shipped') | YES | | NULL | | |
| 71 | | composition | text | YES | | NULL | | |
| 72 | | recipient | varchar(200) | YES | | NULL | | |
| 73 | | comment | text | YES | | NULL | | |
| 74 | +-------------+---------------------------------------------------------------+------+-----+---------------------+-------+ |
| 75 | 7 rows in set (0.001 sec) |
| 76 | |
| 77 | MariaDB [adcproducts]> Show columns from `order-items`; |
| 78 | +------------------+--------------+------+-----+---------+-------+ |
| 79 | | Field | Type | Null | Key | Default | Extra | |
| 80 | +------------------+--------------+------+-----+---------+-------+ |
| 81 | | order_id | int(32) | NO | MUL | NULL | | |
| 82 | | serial | varchar(100) | YES | MUL | NULL | | |
| 83 | | type | varchar(100) | NO | | NULL | | |
| 84 | | name | varchar(100) | NO | | NULL | | |
| 85 | | parent | varchar(100) | YES | | NULL | | |
| 86 | | record_checkmark | tinyint(1) | NO | | 0 | | |
| 87 | +------------------+--------------+------+-----+---------+-------+ |
| 88 | 6 rows in set (0.001 sec) |
| 89 | |