๐Ÿ’ซ ๋ฌธ์ œ

ย 

๐Ÿ’ซ CODE

SELECT FACTORY_ID, FACTORY_NAME, ADDRESS 
FROM FOOD_FACTORY
WHERE ADDRESS LIKE "๊ฐ•์›%"
ORDER BY FACTORY_ID;

ย 

๐Ÿ’ซ ํ’€์ด ์กฐ๊ฑด

1. ๊ฐ•์›๋„์— ์œ„์น˜ํ•œ ์‹ํ’ˆ๊ณต์žฅ
2. ๊ณต์žฅ ID, ๊ณต์žฅ ์ด๋ฆ„, ์ฃผ์†Œ๋ฅผ ์กฐํšŒ
3. ๊ณต์žฅ ID๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์˜ค๋ฆ„์ฐจ์ˆœ ์ •๋ ฌ

ย 

๐Ÿ’ซ ํ’€์ด

1. SELECT FACTORY_ID, FACTORY_NAME, ADDRESS
  • ๊ณต์žฅ ID, ๊ณต์žฅ ์ด๋ฆ„, ์ฃผ์†Œ๋ฅผ ์กฐํšŒ
2. WHERE ADDRESS LIKE "๊ฐ•์›%"
  • ์ฃผ์†Œ๊ฐ€ ๊ฐ•์›์œผ๋กœ ์‹œ์ž‘ํ•˜๋Š” ์กฐ๊ฑด
3. ORDER BY FACTORY_ID
  • ๊ณต์žฅ ID๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์˜ค๋ฆ„์ฐจ์ˆœ ์ •๋ ฌ

By Dozzing

๋‹ต๊ธ€ ๋‚จ๊ธฐ๊ธฐ

์ด๋ฉ”์ผ ์ฃผ์†Œ๋Š” ๊ณต๊ฐœ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ•„์ˆ˜ ํ•„๋“œ๋Š” *๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค