Keep SQLtest alive: Help cover this month's $100 server costs to keep all lessons and the SQL playground online. Support the project →
SQL code copied to buffer
Task 26:

Penguin Habitat

SQLite
For each penguin species, identify its habitat. Print a table with two columns:
- species: the name of the penguin species
- habitat: a sorted list of islands, separated by commas, where each penguin species resides.
Expected result Columns: 2 · Rows: 3
species areal

Write your query below and click "Check it!". Tables are described in the right pane.

The query result will appear here. Ctrl+Enter - Run query