DMXzone Database Connector PHP Support Product Page

Answered

Obtain distinct values from MySQL

Asked 30 Nov 2013 17:35:49
1
has this question
30 Nov 2013 17:35:49 Graeme Beaty posted:
Is it possible to obtain DISTINCT values from MySQL using this extension?

If so, how.

Thanks

Graeme

Replies

Replied 02 Dec 2013 07:25:55
02 Dec 2013 07:25:55 Teodor Kuduschiev replied:
Hello Graeme,

Can you please be a little more detailed? What exactly do you need to achieve?
Replied 02 Jan 2014 11:28:32
02 Jan 2014 11:28:32 Graeme Beaty replied:
Teodor

I have a table where I want to select dynamic values from a column but the column has some entries the same e.g.

table (id, city)
1 - London
2 - New York
3 - New York
4- Lisbon

Obviously I only want one result for London to display not one for each id.
Replied 16 Jan 2014 16:08:52
16 Jan 2014 16:08:52 Teodor Kuduschiev replied:
Hello Graeme,

This can be achieved using the group by filter (HTML5 Data Bindings Formatter)
Replied 16 Mar 2016 17:52:45
16 Mar 2016 17:52:45 Teodor Kuduschiev replied:
Hello, i know its been a while but the distinct option has been added to the extension: www.dmxzone.com/go/32347/using-the-distinct-option-with-database-queries/

Reply to this topic