Examtopics

AWS Certified Data Engineer - Associate
  • Topic 1 Question 95

    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?

    • Select * from Sales where city_name ~ ‘$(San|El)*’;

    • Select * from Sales where city_name ~ ‘^(San|El)*’;

    • Select * from Sales where city_name ~’$(San&El)*’;

    • Select * from Sales where city_name ~ ‘^(San&El)*’;


    シャッフルモード