This sample illustrates use of HAVING clause.
The query retrieves average ticket price for every venue using events that happened before.
select e1."VenueNo", avg(e1."Ticket_price") as "avgTicket_price"
from "events" e1
group by e1."VenueNo"
having ((e1."Event_Date" < now))
Download Absolute Database | Learn more |
|
|
Current version: 7.95
Released: February 08, 2023
Price: $ 149
|
|
Thanks again for the superb tech support, I was worried I'd hit a brick wall this close to the finish line. Even working on the weekend... you guys rock!!!
Bob Boyd
|
|
|