Top "Distinct-values" questions

Use this tag for questions related to Distinct Values, i.e. values that are distinct/unique from the values in a collection.

Converting lodash _.uniqBy() to native javascript

Here in this snippet i am stuck as in _.uniqBy(array,iteratee),this iteratee can be a function or a …

javascript arrays lodash distinct-values
Select distinct only selects single column

Based on this question: [How can I do SELECT UNIQUE with LINQ? I wrote the below expression to select rows …

c# linq distinct-values
Use of Distinct with list of custom objects

How can I make the Distinct() method work with a list of custom object (Href in this case), here is …

c# linq list distinct-values
C# MongoDB Distinct Query Syntax

I am trying to get the distinct values from a field in MongoDB. I am having real trouble with the …

c# mongodb distinct distinct-values
Python plotting error bars with different values above and below the point

Warning: I'm very new to using python. I'm trying to graph data using error bars but my data has different …

python python-3.x plot graphing distinct-values
Laravel 5.4 need to get distinct records through eloquent relation

I have a table "transactions". in that table I have multiple columns which are id, user_id, customer_name, restaurant_…

php mysql laravel-5.4 laravel-eloquent distinct-values
How to count each instance of distinct-values in XQuery?

I have an XML file with the following elements and attributes: <element> <unit id="1" color="blue"/> &…

xml count xquery distinct-values
Distinct values in data bound combobox

I have a table Inventory(ItemId,Name,Size,Price,otherinfo) where ItemId is primary key and Name,Size,Price are …

c# data-binding distinct-values
How to count distinct values in a list in linear time?

I can think of sorting them and then going over each element one by one but this is nlogn. Is …

algorithm list count complexity-theory distinct-values
not including null values in sql join

I have two tables CustomerAddress(CustomerId, City, Country) and CustomerTransactions(TransactionId, CustomerId, CustomerContact). Here are the values in the tables: …

sql sql-server tsql distinct-values