Question: Query to use to ans the question below: SELECT hsp.GUARANTOR_ID Guarantor ID ,SUM(hsp.TOT_ACC_BAL) Sum of HAR Balances FROM HSP_ACCOUNT hsp INNER JOIN ACCOUNT guar ON

Query to use to ans the question below:

SELECT

hsp.GUARANTOR_ID "Guarantor ID" ,SUM(hsp.TOT_ACC_BAL) "Sum of HAR Balances" FROM HSP_ACCOUNT hsp INNER JOIN ACCOUNT guar ON hsp.GUARANTOR _ID = guar.ACCOUNT_ID WHERE hsp.TOT_ACC_BAL < > 0 AND hsp.ACC_BILLSTS_HA_C < > 3 --Not DNB GROUP BY hsp.GUARANTOR_ID

Which HAR balances are being excluded?

A) Negative B) Zero C) Positive D) Null

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!