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
Leana
15 days ago
Wait, does that really give a non-repeatable sample?
upvoted 0 times
...
Barbra
21 days ago
I agree with Justine, that’s the standard way!
upvoted 0 times
...
Shaniqua
26 days ago
I think it should be TABLESAMPLE BERNOULLI instead.
upvoted 0 times
...
Jaime
1 month ago
Sounds right, but isn't that just for certain databases?
upvoted 0 times
...
Justine
1 month ago
You can use TABLESAMPLE SYSTEM (20).
upvoted 0 times
...
Ronald
1 month ago
This question is making me hungry. Anyone else craving a nice juicy steak sample?
upvoted 0 times
...
Annabelle
2 months 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
2 months ago
I'd use the TABLESAMPLE clause for this. Seems like the most straightforward way to get a random sample.
upvoted 0 times
...
Janella
2 months 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
2 months ago
The sampling function should definitely take the data by blocks of rows. Anything else would just be weird.
upvoted 0 times
...
Janna
2 months 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
2 months 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
3 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
3 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
4 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
4 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
4 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
4 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
4 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