select r.bid as bid, count(r.bid) as jumlah from reserves r group by r.bid ) d join boats b on d.bid = b.bid where d.jumlah = ( select max(s.jumlah) from( select count(r.bid) as jumlah from reserves r group by r.bid ) s ) select d.sid, x.sname, jumlah from( select r.sid as sid, count(r.sid) as jumlah from reserves r group by r.sid ) d join sailors x on d.sid = x.sid where d.jumlah = (select max(s.jumlah) from(select count(r.sid) as jumlah from reserves r group by r.sid ) s )
5 Tampilkan bid dan nama boat yang paling sering dipinjam