Group by a pair

后端 未结 0 624
醉话见心
醉话见心 2021-01-02 00:52

My Query

SELECT si1.itemno,si2.itemno,count(*) 
FROM 
(SELECT * FROM `saleitems` WHERE orgno = 9) as si1 
INNER JOIN 
(SELECT * FROM saleitems WHERE orgno =9)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题