Home | Previous Page | Next Page   Appendix B. Demonstration SQL > SQL Files for the Relational Database Model >

sel_agg.sql

The SELECT statement in the following command file queries on table data using aggregate functions. It combines the aggregate functions MAX and MIN in a single statement.

SELECT MAX (ship_charge), MIN (ship_charge)
   FROM orders;
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]