Mysql
Mysql
Mysql
Database changed
->
+--------+--------------+------+-----+---------+-------+
+--------+--------------+------+-----+---------+-------+
+------+----------------+--------+------+--------+--------+------+
+------+----------------+--------+------+--------+--------+------+
+------+----------------+--------+------+--------+--------+------+
+------+----------------+--------+------+--------+--------+------+
+------+----------------+--------+------+--------+--------+------+
+------+----------------+--------+------+--------+--------+------+
+----------------+
| Name |
+----------------+
| School Canvas |
| School Canvas |
| School Leather |
| School Leather |
| Galaxy |
| Galaxy |
| Galaxy |
| Tracker |
| Tracker |
| Tracker |
+----------------+
+--------------+
| Final Price |
+--------------+
| 135.15000000 |
| 138.21000000 |
| 143.56500000 |
| 237.15000000 |
| 275.40000000 |
| NULL |
| 659.20000000 |
| 733.36000000 |
| 741.60000000 |
| NULL |
| 771.33375000 |
| 828.51750000 |
| NULL |
+--------------+
+--------------+
| Final Price |
+--------------+
| 135.15000000 |
| 138.21000000 |
| 143.56500000 |
| 237.15000000 |
| 275.40000000 |
| NULL |
| 659.20000000 |
| 733.36000000 |
| 741.60000000 |
| NULL |
| 771.33375000 |
| 828.51750000 |
| NULL |
+--------------+
+------+----------------+--------+------+--------+--------+------+
| Code | Name | Type | Size | Cost | Margin | Qty |
+------+----------------+--------+------+--------+--------+------+
+------+----------------+--------+------+--------+--------+------+
+------+---------------+--------+------+--------+--------+------+
+------+---------------+--------+------+--------+--------+------+
+------+---------------+--------+------+--------+--------+------+
+------+---------+--------+------+--------+--------+------+
+------+---------+--------+------+--------+--------+------+
+------+---------+--------+------+--------+--------+------+
+--------+--------------+------+-----+---------+-------+
+--------+--------------+------+-----+---------+-------+
+--------+--------------+------+-----+---------+-------+
8 rows in set (0.05 sec)
+--------+----------------+
+--------+----------------+
| Office | 1100 |
| School | 7180 |
| Sports | 1740 |
+--------+----------------+
+--------+----------------+----------------+----------------+
+--------+----------------+----------------+----------------+
+--------+----------------+----------------+----------------+
+--------------+
| Maximum Cost |
+--------------+
| 843.00 |
+--------------+
+----------------+----------------+
| Ucase(name) | Lcase(Name) |
+----------------+----------------+
| GALAXY | galaxy |
| GALAXY | galaxy |
| GALAXY | galaxy |
| TRACKER | tracker |
| TRACKER | tracker |
| TRACKER | tracker |
| JORDANS | jordans |
+----------------+----------------+
+--------+
| Type |
+--------+
| School |
| Office |
| Sports |
+--------+
+----------------+-----------------+
| Name | No of Character |
+----------------+-----------------+
| School Canvas | 13 |
| School Canvas | 13 |
| School Canvas | 13 |
| School Leather | 14 |
| School Leather | 14 |
| School Leather | 14 |
| Galaxy | 6|
| Galaxy | 6|
| Galaxy | 6|
| Tracker | 7|
| Tracker | 7|
| Tracker | 7|
| Jordans | 7|
+----------------+-----------------+
-> ,"A");
"> 7677888","B");
"> 98178989","A");
+----------+-----------+-----------+-----------+------------+-------------+
+----------+-----------+-----------+-----------+------------+-------------+
| 1 | C001 | 1001 | 200 | 2008-12-10 | 2008-12-15 |
+----------+-----------+-----------+-----------+------------+-------------+
+----------------+-----------+----------+
+----------------+-----------+----------+
+----------------+-----------+----------+
+----------+-----------+----------------+--------+
+----------+-----------+----------------+--------+
+----------+-----------+----------------+--------+
-> Shoes.Code=Orders.Shoe_code;
+----------+----------------+------------+
+----------+----------------+------------+
+----------+----------------+------------+
mysql>