0
假設我有一個表作爲這樣:選擇從不同的領域頂2與另一場
PointOfSaleId, Name, Address
我想選擇頂部的2條記錄具有相同Name
和Address
,與PointOfSaleId
在一起。
例如我有以下記錄:
PointOfSaleId Name Address
1 Foo Bar
2 Foo Bar
3 Foo Bar
4 Foo2 Bar2
結果應選擇以下內容:
1 Foo Bar
2 Foo Bar
4 Foo2 Bar2
是否有這樣做的任何可行的方法?
謝謝,這幫助! –