Q&A for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles
select p.id,p.body from posts p join votes v on p.id = v.postid where p.posttypeid=2 --- questions and v.votetypeid=1 --- accepted by originator and YEAR(v.creationdate)=2023 --- in 2023 ;