This is the main query and i have to show only top 5 values from Cost Per Person field
SELECT Reservation.ReservationID, Reservation.StartDate, Reservation.EndDate, Property.PropertyID, Property.PropertyName, Reservation.People, Reservation.Rate, Format([Rate]/[People],"Currency") AS [Cost Per Person]
FROM Property INNER JOIN (Guest INNER JOIN Reservation ON Guest.GuestID = Reservation.GuestID) ON Property.PropertyID = Reservation.PropertyID
ORDER BY Format([Rate]/[People],"Currency") DESC;
[Non-text portions of this message have been removed]
__._,_.___
.
__,_._,___
Tidak ada komentar:
Posting Komentar