I have a table Accounts which is having various fields. Out of which I want three fields acct_nbr, Acct_Indicator1, Acct_Indicator2. I want to find those accounts which are having multiple values for Acct_Indicator1 and Acct_Indicator2. Below is the query I have used. Please let me know the correct version :
SELECT acct_nbr, Acct_Indicator1, Acct_Indicator2
FROM table1
GROUP BY acct_nbr, Acct_Indicator1, Acct_Indicator2
ORDER BY acct_nbr
try this using
inforAcct_Indicator1andAcct_Indicator2