BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Data Engineer Exam - Topic 2 Question 1 Discussion

Posted by Nobuko on May 07, 2022 at 03:39 AM

Your company is using WHILECARD tables to query data across multiple tables with similar names. The SQL statement is currently failing with the following error:

# Syntax error : Expected end of statement but got ''-'' at [4:11]

SELECT age

FROM

bigquery-public-data.noaa_gsod.gsod

WHERE

age != 99

AND_TABLE_SUFFIX = '1929'

ORDER BY

age DESC

Which table name will make the SQL statement work correctly?

Suggested Answer: D

Get Premium Professional Data Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
MI
Micah 1 year ago
Not sure about this, seems like a tricky question!
CO
Corrie 1 year ago
Wait, isn't it supposed to be without quotes for the wildcard?
WH
Whitney 1 year ago
I think option B is the right choice.
MI
Milly 1 year ago
Definitely needs a wildcard in the table name!
LY
Lynette 1 year ago
The error is due to the incorrect syntax with AND_TABLE_SUFFIX.
MI
Mignon 1 year ago
I vaguely remember that using quotes can sometimes lead to issues in SQL. I wonder if option A could be the right choice since it doesn't have a wildcard.
JA
James 1 year ago
I think I saw a similar question where the wildcard was used correctly, but I can't recall if it was with or without the quotes.
SH
Shoshana 1 year ago
I remember practicing with wildcard tables, but I'm not sure if the table name should have quotes or not.
RU
Rupert 1 year ago
The error message mentions a syntax issue, which makes me think the wildcard needs to be formatted correctly. I feel like it's option B, but I'm not completely confident.
SH
Shakira 1 year ago
Hmm, this one seems a bit tricky. I'm not totally sure about the differences between the roles listed, so I'll need to think it through carefully.
ER
Ernie 1 year ago
Hmm, this seems like a tricky one. I'll need to think through the role of the load balancer and how it relates to the firewall requirements.
NA
Nada 1 year ago
This seems like a straightforward question about validity. I'll need to think carefully about the differences between reliability and validity to answer this correctly.
0/2000 characters

Save Cancel