Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 220 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 220
Topic #: 1
[All SnowPro Core Questions]

The following JSON is stored in a VARIANT column called src of the CAR_SALES table:



A user needs to extract the dealership information from the JSON.

How can this be accomplished?

  • A. select src:dealership from car_sales;
  • B. select src.dealership from car_sales;
  • C. select src:Dealership from car_sales;
  • D. select dealership from car_sales;
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Mallikharjuna452
4 months ago
select src:dealership from car_sales;
upvoted 1 times
...
_yyukta
8 months, 3 weeks ago
Selected Answer: A
A. select src:dealership from car_sales;
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Is it case sensitive?
upvoted 2 times
fellpond
8 months, 2 weeks ago
Column name is case-insensitive but element names are case-sensitive. For example, in the following list, the first two paths are equivalent, but the third is not: src:salesperson.name SRC:salesperson.name SRC:Salesperson.Name
upvoted 3 times
...
...
Marge23
1 year, 2 months ago
Selected Answer: A
correct
upvoted 1 times
...
c0d3g
1 year, 6 months ago
Selected Answer: A
Use dot notation to traverse a path in a JSON object: <column>:<level1_element>.<level2_element>.<level3_element>. Optionally enclose element names in double quotes: <column>:"<level1_element>"."<level2_element>"."<level3_element>".
upvoted 1 times
...
SV1122
1 year, 10 months ago
Selected Answer: A
Insert a colon : between the VARIANT column name and any first-level element: <column>:<level1_element>. https://docs.snowflake.com/en/user-guide/querying-semistructured.html
upvoted 3 times
...
halol
1 year, 11 months ago
Selected Answer: A
https://docs.snowflake.com/en/user-guide/querying-semistructured.html
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...