TracyEngel
Technical User
Using 8.5 against a SQL Database.
Sample Data:
QTEID# STATUSID# EFFDTE MKTID#
12345 DCU 06/01/2004 R0112
(QTEID# is an unique key identifier)
Need to count the number of QTEID#'s that occur within a time frame (select between two dates on the EFFDTE column) that possess a specific STATUSID# for a specific MKTID#.
For instance, need to know that there are 30 QTEID#'s from 06/01/2004 to 06/30/2004 that are status DCU in market R0112. Or perhaps there are 20 QTEID#'s from 05/15/2004 to 07/15/2004 that are status BND in market M0111. The output I'm looking for is the count and I get to input the parameters for the other fields.
Sample Data:
QTEID# STATUSID# EFFDTE MKTID#
12345 DCU 06/01/2004 R0112
(QTEID# is an unique key identifier)
Need to count the number of QTEID#'s that occur within a time frame (select between two dates on the EFFDTE column) that possess a specific STATUSID# for a specific MKTID#.
For instance, need to know that there are 30 QTEID#'s from 06/01/2004 to 06/30/2004 that are status DCU in market R0112. Or perhaps there are 20 QTEID#'s from 05/15/2004 to 07/15/2004 that are status BND in market M0111. The output I'm looking for is the count and I get to input the parameters for the other fields.