dbhub.io icon indicating copy to clipboard operation
dbhub.io copied to clipboard

Show distinct values

Open MKleusberg opened this issue 7 years ago • 2 comments

While looking at this I noticed that it might be nice to have some way of getting a list of unique values of a column. For example, when I want to know which countries are included in the data set, I have to download the database and run this SQL statement:

SELECT DISTINCT adm0_name FROM WFPVAM_FoodPrices;

It would be nice to be able to get the same list by clicking some icon or whatever :)

MKleusberg avatar Sep 25 '17 12:09 MKleusberg

Heh Heh Heh

We might need to add the equivalent of an "Execute SQL" tab directly in the browser. Can't see it happening soon though. :smile:

justinclift avatar Sep 25 '17 13:09 justinclift

Alternatively, each column could have a list of distinct values which could also be used as a filter. Similar approach to Excel.

chrisjlocke avatar Sep 25 '17 16:09 chrisjlocke