DB Quacks SQL Tutorial · Chapter 2

The SAMPLE Awakens

Survey specialist duck paddles over with a clipboard. We conducted a massive duck survey with thousands of responses! But analyzing all that data would take forever. Can you get a random sample of 50 responses for our quick analysis?

Your task

Get a random sample of 10 survey responses from the duck_surveys table. You will be selecting a subset of the large survey dataset randomly.

Start level 9 →

DuckDB docs for this lesson