1. 링크
https://school.programmers.co.kr/learn/courses/30/lessons/164673?language=mysql
2. sql문
-- 코드를 입력하세요
SELECT a.title, a.board_id, b.reply_id, b.writer_id, b.contents, date_format(b.created_date,'%Y-%m-%d') as created_date
from used_goods_board a inner join used_goods_reply b on a.board_id = b.board_id
where a.created_date like '2022-10%' order by b.created_date asc, a.title asc ;