Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Find All Countries With Their IDs | Section
Practice
Projects
Quizzes & Challenges
Вікторини
Challenges
/
SQL Fundamentals
Секція 1. Розділ 8
single

single

bookChallenge: Find All Countries With Their IDs

Свайпніть щоб показати меню

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.

Завдання

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)

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 8
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt