What does the SQL:2003 TABLESAMPLE clause provide?

SQL Hard
Select the correct answer: Single Choice

Key points

  • TABLESAMPLE clause in SQL:2003 provides random sampling of table rows
  • SYSTEM and BERNOULLI are the two sampling methods available
  • Sampling is approximate, not exact
  • Avoids the need for a full table scan

Ready to go further?