Queries Using Aggregate Functions In Dbms