Hi Guys,
Lets say I have two fields in a Database (DB1):
-------------------
Field1(txt) | Field2(txt)
a | x
b | x
c | y
d | y
e | Z
I need to SELECT * FROM DB1
(where 1x(field2 = field2))
The above into words, would mean, i'd like the fields in field2 to be distinct, so for example my end results would be:
Field1(txt) | Field2(txt)
a | x
c | y
e | z
Here is the problem, i can't use sub queries because of the version of MYSQL,
Any other ideas?
Thanks in advance.
Cheers,
-L.
Lets say I have two fields in a Database (DB1):
-------------------
Field1(txt) | Field2(txt)
a | x
b | x
c | y
d | y
e | Z
I need to SELECT * FROM DB1
(where 1x(field2 = field2))
The above into words, would mean, i'd like the fields in field2 to be distinct, so for example my end results would be:
Field1(txt) | Field2(txt)
a | x
c | y
e | z
Here is the problem, i can't use sub queries because of the version of MYSQL,
Any other ideas?
Thanks in advance.
Cheers,
-L.