-- db2 -tvmf test.sql is how to run test query select count(*), count(distinct section) from schedule where term = 1185;