I have a database that looks something like this
M1 About
M1 Help
M1 LALALA
M2 ZZZ
M2 ZZZdgfdfsg
M3 alksdjfklasdj
M4 alsdkfjasjld
M4 asjfjlaskdf
ect...
I want a query that will just return
M1, M2, M3, M4, ect...
Thanks, i just am looking for something simple.
Unique data query
Moderator: General Moderators
I'm guessing the table structure:
You can do a query as:
-Nay
Code: Select all
the_m | inside_the_m
M1 | About
M1 | Help
M1 | LALALA
M2 | ZZZ
M2 | ZZZdgfdfsg
M3 | alksdjfklasdj
M4 | alsdkfjasjld
M4 | asjfjlaskdfCode: Select all
SELECT DISTINCT the_m FROM the_table