vinoth124
04-07-2009, 04:13 AM
Friends,
I have some doubt with reference to select query from a table in access database. Let me explain my scenerio clear...
Table Name: (Sample)
Data @ Sample table
SR ApplId Amount
101 AAA 500
102 BBB 600
101 CCC 800
103 DDD 560
101 AAA 590
I want to fetch all the rows other than this cobination SR:101 and SR:AAA.
Expected Output:
***************
SR ApplId Amount
102 BBB 600
101 CCC 800
103 DDD 560
Note : I tried with NotIn option but it is not giving up the 101;CCC;800 combination. Will you please give me some suggestion to resolve this issue.
Thanks in advance.
Thanks,
Vinoth R
I have some doubt with reference to select query from a table in access database. Let me explain my scenerio clear...
Table Name: (Sample)
Data @ Sample table
SR ApplId Amount
101 AAA 500
102 BBB 600
101 CCC 800
103 DDD 560
101 AAA 590
I want to fetch all the rows other than this cobination SR:101 and SR:AAA.
Expected Output:
***************
SR ApplId Amount
102 BBB 600
101 CCC 800
103 DDD 560
Note : I tried with NotIn option but it is not giving up the 101;CCC;800 combination. Will you please give me some suggestion to resolve this issue.
Thanks in advance.
Thanks,
Vinoth R