• Daum
  • |
  • 카페
  • |
  • 테이블
  • |
  • 메일
  • |
  • 카페앱 설치
 
카페정보
DU_2
 
 
 
카페 게시글
과제 제출하기 퀴즈 답
신건호 추천 0 조회 12 23.06.30 17:09 댓글 1
게시글 본문내용
 
다음검색
첨부된 파일
댓글
  • 작성자 23.07.03 17:37

    첫댓글 SELECT a.ProductID,b.ProductName,c.CategoryID,c.CategoryName,count(d.OrderID) as totalOrder
    from order_details a
    join products b on a.ProductID = b.ProductID
    join categories c on b.CategoryID=c.CategoryID
    join mydb.order d on a.OrderID = d.OrderID
    group by a.ProductID;

최신목록