Can anyone tell me how to get subtotals by Street_Address for the OH_Qty and CM_Value columns in the following SQL:
SELECT
Sort_Order,
Facility_Quarters,
Street_Address,
Current_Status,
Item_Description,
Stock_Number,
OH_Qty,
CM_Value
FROM TM
ORDER BY
Sort_Order,
Facility_Quarters,
Street_Address,
Current_Status,
Item_Description,
Stock_Number
I need to "break" on Street_Address, but also need to have the Current_Status, Item_Description and Stock_Number columns print on the detail line. This is using SQL Server 2000. Any help? Much appreciate it.
Michael Martin
SELECT
Sort_Order,
Facility_Quarters,
Street_Address,
Current_Status,
Item_Description,
Stock_Number,
OH_Qty,
CM_Value
FROM TM
ORDER BY
Sort_Order,
Facility_Quarters,
Street_Address,
Current_Status,
Item_Description,
Stock_Number
I need to "break" on Street_Address, but also need to have the Current_Status, Item_Description and Stock_Number columns print on the detail line. This is using SQL Server 2000. Any help? Much appreciate it.
Michael Martin