Hi all,
Need help,
Using CR11/w ODBC connection to Mysql database
Left outer join ARS_Master.Mas_Rel to Arrest.Mas_REL. Then left outer Join Arrest.Book_No to JailCHG.Book_No. Grouped by ARS_Master.Assignment. I need to be able to count as in the below data the group is DART. I need to do a hierarchical count based on the Chg_LVL on change of the Book_No. IE. On the first two rows I want to count the Felony but not the Other.
case# Book_No Chg_LVL
DART
100013151 DART 0000 1005005 Felony
100013151 DART 0000 1005005 Other
100013151 DART 0000 1005006 Felony
100013151 DART 0000 1005006 Other
100008297 DART 0002 1005204 Felony
100008297 DART 0002 1005206 Felony
100013825 DART 0000 1005251 City
100013836 DART 0000 1005256 City
100013914 DART 0000 1005287 City
100013914 DART 0000 1005287 Other
100013914 DART 0000 1005288 Other
100013810 DART 0003 1005314 Other
Any or all help would be appreciated.
Need help,
Using CR11/w ODBC connection to Mysql database
Left outer join ARS_Master.Mas_Rel to Arrest.Mas_REL. Then left outer Join Arrest.Book_No to JailCHG.Book_No. Grouped by ARS_Master.Assignment. I need to be able to count as in the below data the group is DART. I need to do a hierarchical count based on the Chg_LVL on change of the Book_No. IE. On the first two rows I want to count the Felony but not the Other.
case# Book_No Chg_LVL
DART
100013151 DART 0000 1005005 Felony
100013151 DART 0000 1005005 Other
100013151 DART 0000 1005006 Felony
100013151 DART 0000 1005006 Other
100008297 DART 0002 1005204 Felony
100008297 DART 0002 1005206 Felony
100013825 DART 0000 1005251 City
100013836 DART 0000 1005256 City
100013914 DART 0000 1005287 City
100013914 DART 0000 1005287 Other
100013914 DART 0000 1005288 Other
100013810 DART 0003 1005314 Other
Any or all help would be appreciated.