python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Group by multiple columns : SQL
I have a table :
I have a query which gives me
And I want something like this :
Query used for above result is :
select ucountry,sum(Males) Males,sum(females ) Females from (
...
Durvesh Patil
Votes: 0
Answers: 3
Foundry-workshop : add average value on a chart displaying parameter evolution
I'm looking for a way to display a line showing the average value of a parameter in a chart dedicated to this parameter's evolution.
I have a dataset, let's take as an example the following structure ...

Christophe
Votes: 0
Answers: 2
MongoDB Aggregate Group Results Query by Common Fields
Looking to figure out how to perform a particular grouping of Mongo documents through a query, instead of transforming the results through code after getting the data.
Sample mock data:
[
{ 'id': ...
Biso
Votes: 0
Answers: 1