[level 3] ์กฐํ์๊ฐ ๊ฐ์ฅ ๋ง์ ์ค๊ณ ๊ฑฐ๋ ๊ฒ์ํ์ ์ฒจ๋ถํ์ผ ์กฐํํ๊ธฐ - 164671
์ฑ๋ฅ ์์ฝ
๋ฉ๋ชจ๋ฆฌ: 0.0 MB, ์๊ฐ: 0.00 ms
๊ตฌ๋ถ
์ฝ๋ฉํ ์คํธโ ์ฐ์ต > String๏ผโ Date
์ ๋ต
SELECT '/home/grep/src/' || B.BOARD_ID || '/' || B.FILE_ID || B.FILE_NAME || B.FILE_EXT FILE_PATH
FROM USED_GOODS_BOARD A JOIN
USED_GOODS_FILE B
ON A.BOARD_ID = B.BOARD_ID
WHERE VIEWS = (
SELECT MAX(VIEWS) FROM USED_GOODS_BOARD
)
ORDER BY FILE_ID DESC
;
์ฐธ๊ณ
- ์ค์ฒฉ ์๋ธ์ฟผ๋ฆฌ๋ฅผ ์ด์ฉํ์ฌ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ ์ ์์ต๋๋ค.
- ์ฐธ๊ณ : ์๋ธ์ฟผ๋ฆฌ์ ์ข ๋ฅ
- ๋ฌธ์์ด์ ํฉ์น๋๋ฐ ||๋ฅผ ์ฌ์ฉํ์ง๋ง, concat ํจ์๋ฅผ ์ฌ์ฉํด๋ ๋ฉ๋๋ค.