Hello plz somebody help me to solve this query.
I've two table
table x:
id Type
=== ======
1 1
2 1
3 1
4 2
5 2
table y:
id Flag
=== =====
1 0
2 1
3 0
4 0
5 0
now my query is find out ids having same type but not contain same flag values.
i.e. as shown in example id 1,2,3 having same type 1 but their flag values are not same. but id 4 and 5 having same type and same flag values. so output of query will be:
id Type Flag
=== ===== =====
1 1 0
2 1 1
3 1 0
plz solve this query asap
Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/