R
R
Rishat Sultanov2016-11-22 10:39:03
SQL
Rishat Sultanov, 2016-11-22 10:39:03

How to properly request a request?

Good afternoon, ladies and gentlemen.
How to display
Display the number of customers from each country?
www.w3schools.com/sql/trysql.asp?filename=trysql_s...
SELECT Country,COUNT(CustomerName)
FROM [Customers]
In this case, I only get one city.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2016-11-22
@rishatss

use grouping like:

SELECT Country,COUNT(CustomerName)
FROM [Customers] GROUP BY Country

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question