Write a query to display the details like Customer id, Customer name, Car id, Car name, pickup date and return date which has been taken for rent on the same day. Sort the result based on Customer id in ascending order.
Sample Output:
CUST_ID CUST_NAME CAR_ID CAR_NAME PICKUP_DATE RETURN_DATE
01 John V001 Hyundai 20-MAR-2018 20-MAR-2018
[Hint: Use Customers, Cars and Rentals table to retrieve records]
Result Description
Comments
Post a Comment