2016-03-05 71 views

回答

1

下面可能讓你與重複的房間列表。

select id, roomid, inv_date, count(room) 
from room_inventory 
group by id, roomid, inv_date 
having count(room) > 1; 
1
Select Id, count(*) from inventory_table group by roomid, inv_date having count(*)>1 
相關問題