Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda The COUNT() Function | Section
SQL Fundamentals
Seção 1. Capítulo 34
single

single

bookThe COUNT() Function

Deslize para mostrar o menu

COUNT() is a function that allows you to count rows in a table or count how many rows match certain criteria.

Let's see an example:

12
SELECT COUNT(name) FROM country;
copy

To count the total number of rows in the table, we can use the following syntax:

12
SELECT COUNT(*) FROM country;
copy
Tarefa

Swipe to start coding

Write an SQL query to retrieve the number of rows from the country table where the continent is 'Asia' with a population of over 1000000.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 34
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt