more corver case

This commit is contained in:
lgbo-ustc 2024-04-19 14:48:42 +08:00
parent 656a9a7260
commit 91d2e5c72b
2 changed files with 4 additions and 0 deletions

View File

@ -91,3 +91,4 @@ iPhone Smartphone 900 4 1
Kindle Fire Tablet 150 1 0
Samsung Galaxy Tab Tablet 200 2 0.5
iPad Tablet 700 3 1
Others Unknow 200 1 0

View File

@ -102,6 +102,9 @@ FROM products INNER JOIN product_groups USING (group_id)) t
order by group_name, product_name, price;
select '---- Q8 ----';
INSERT INTO product_groups VALUES (4, 'Unknow');
INSERT INTO products (product_id,product_name, group_id,price) VALUES (12, 'Others', 4, 200);
SELECT *
FROM
(