7.00.02 - Example 1: Basic Sampling (Weighted) - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)

This example uses basic sampling to select a sample of 10 rows, weighted by car weight. Because the function call includes the Seed and SeedColumn arguments, it always produces the same output from the same input.