AmazonAmazon
DEA-C01 · Question #105
DEA-C01 Question #105: Real Exam Question with Answer & Explanation
Sign in or unlock DEA-C01 to reveal the answer and full explanation for question #105. The question stem and answer options stay visible for context.
Data Store Management
Question
A company has a data warehouse that contains a table that is named Sales. The company stores the table in Amazon Redshift. The table includes a column that is named city_name. The company wants to query the table to find all rows that have a city_name that starts with "San" or "El". Which SQL query will meet this requirement?
Options
- ASelect * from Sales where city_name ~ '$(San|El)*';
- BSelect * from Sales where city_name ~ '^(San|El)*';
- CSelect * from Sales where city_name ~'$(San&El)*';
- DSelect * from Sales where city_name ~ '^(San&El)*';
Unlock DEA-C01 to see the answer
You've previewed enough free DEA-C01 questions. Unlock DEA-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Amazon Redshift#SQL#Regular Expressions#Data Querying