Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Find All Countries With Their IDs | Section
SQL Fundamentals
Seção 1. Capítulo 8
single

single

bookChallenge: Find All Countries With Their IDs

Deslize para mostrar o menu

Note
Definition

In most databases, the id column acts as a unique identifier, often referred to as a primary key, for each record. By selecting both the id and name columns, you can view the unique identifier linked to each country. This is crucial for associating records or when you need to reference specific entries in the database.

Tarefa

Swipe to start coding

Write an SQL query to get all the country name values and their id values.

Please make sure to get the columns in the exact order (name, id)

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 8
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