【发布时间】:2020-11-21 14:58:45
【问题描述】:
select Customer_Name from Customer where Customer_Id IN
(select distinct Customer.Customer_Id from Customer join Toy_Rental on Toy_Rental.Customer_ID=Customer.Customer_Id
order by Toy_Rental.Total_Amount desc
fetch next 2 rows only);
【问题讨论】:
-
请参阅stackoverflow.com/questions/27099414/…,了解如何在旧版本的 Oracle 中限制您的结果集。