Re: [SQL ] 同一資料表內之查詢

看板Database作者 (ken)時間13年前 (2012/10/06 11:37), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
select a.* from product a inner join product b on a.manufactures=b.manufactures where a.company<>b.company group by a.company order by a.manufactures,a.company; -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 180.177.216.151
文章代碼(AID): #1GRwUFJG (Database)
文章代碼(AID): #1GRwUFJG (Database)