What does the `TABLESAMPLE` clause do in SQL?

Advanced SQL Developer Medium

Advanced SQL Developer — Medium

What does the `TABLESAMPLE` clause do in SQL?

Key points

  • `TABLESAMPLE` retrieves a sample of rows from a table
  • It does not create a new table or update index statistics
  • The purpose is to quickly analyze data without processing all rows

Ready to go further?

Related questions