title: Stratified random sampling with BigQuery?
body: <p>How can I do stratified sampling on BigQuery?</p>
  
  <p>For example, we want a 10% proportionate stratified sample using the category_id as the strata. We have up to 11000 category_ids in some of our tables.</p>