Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake ADA-C01 Exam - Topic 1 Question 48 Discussion

Actual exam question for Snowflake's ADA-C01 exam
Question #: 48
Topic #: 1
[All ADA-C01 Questions]

Contribute your Thoughts:

0/2000 characters
Annabelle
1 day ago
Hmm, I wonder if there's a way to make the sample repeatable. You know, for those of us who like to live on the edge.
upvoted 0 times
...
Ilene
6 days ago
I'd use the TABLESAMPLE clause for this. Seems like the most straightforward way to get a random sample.
upvoted 0 times
...
Janella
12 days ago
20% is a good sample size. Wouldn't want to go overboard and sample the whole table, that's just showing off.
upvoted 0 times
...
Rolande
17 days ago
The sampling function should definitely take the data by blocks of rows. Anything else would just be weird.
upvoted 0 times
...
Janna
22 days ago
I definitely remember that the sample should be non-repeatable, so we might need to use a different approach than just a simple SELECT statement.
upvoted 0 times
...
Lilli
27 days ago
I feel like the command should include something like "TABLESAMPLE SYSTEM (20)" but I can't recall the exact syntax.
upvoted 0 times
...
Alyce
2 months ago
I remember practicing a question like this where we had to use a random sampling method. Maybe we can use TABLESAMPLE?
upvoted 0 times
...
Lenny
2 months ago
I think we need to use the SAMPLE clause, but I'm not sure how to specify the percentage correctly.
upvoted 0 times
...
Margart
2 months ago
Nice, the TABLESAMPLE clause is exactly what I was thinking. I'll make sure to specify the SYSTEM option to get the non-repeatable sample.
upvoted 0 times
...
Trinidad
2 months ago
I'm going to try using the TABLESAMPLE clause with the BERNOULLI method. That should give me a 20% sample without repeating.
upvoted 0 times
...
Nan
2 months ago
I'm a bit confused on the "not repeatable" part. Does that mean I can't use a random sampling function?
upvoted 0 times
...
Chantell
3 months ago
Okay, I think I know how to do this. I'll need to use a sampling function that takes the data by blocks of rows.
upvoted 0 times
...
Aliza
3 months ago
Hmm, this looks like a tricky one. I'll need to think carefully about how to approach this.
upvoted 0 times
...

Save Cancel