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? A. Select * from Sales where city_name ~ ‘$(San|El)*’; B. Select * from Sales where city_name ~ ‘^(San|El)*’; C. Select * from Sales where city_name ~’$(San&El)*’; D. Select * from Sales where city_name ~ ‘^(San&El)*’;  Suggested Answer: B Community Answer: B This question is in DEA-C01 AWS Certified Data Analytics – Specialty Exam For getting AWS Certified Data Analytics – Specialty Certificate Disclaimers: The website is not related to, affiliated with, endorsed or authorized by Amazon. Trademarks, certification & product names are used for reference only and belong to Amazon. The website does not contain actual questions and answers from Amazon's Certification Exam.
Please login or Register to submit your answer