DuckDB 2 · SQL features

Take a random sample

Return about 10% of the rows.

SELECT * FROM sales USING SAMPLE 10%;

Official DuckDB 2 documentation

More sql features commands

All sql features commands · DuckDB 2 cheatsheet

Was this page helpful?