Jump to content

[SOLVED] trouble using distinct


Lijoyx

Recommended Posts

hello friends,

 

i have to fetch all the 3 colums from a table using a 'FID' . i need the 'FID' to be distinct.

FID repeats in the table

 

i used this query

 

SELECT DISTINCT FID,FNAME, FVALS

FROM `table1`

 

but it filters all the three colums.

 

is there any way to achieve my task?

 

Link to comment
https://forums.phpfreaks.com/topic/117687-solved-trouble-using-distinct/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.