MySQL SQL練習問題20261027

This commit is contained in:
2026-10-27 16:28:36 +09:00
parent 286a1587f7
commit 61b6a7cf70
2 changed files with 24 additions and 0 deletions

14
MYSQL_Question2_5-.txt Normal file
View File

@@ -0,0 +1,14 @@
--問5
select * from items inner join item_category using(category_id) where category_name = '家具';
--問6
select * from items inner join item_category using(category_id) where price between 1000 and 50000;
--問7
select count(*) as data_count from items;
--問8
select * from items inner join item_category using(category_id) where price = (select max(price) from items);
--問9
select * from items inner join item_category using(category_id) where name like '%の%';