Examine the data in the CUST_NAME column of the CUSTOMERS table:
You want to display the CUST_NAME values where the last name starts with Mc or MC.
Which two WHERE clauses give the required result? (Choose two.)
Examine the data in the CUST_NAME column of the CUSTOMERS table:
You want to display the CUST_NAME values where the last name starts with Mc or MC.
Which two WHERE clauses give the required result? (Choose two.)
To display the CUST_NAME values where the last name starts with 'Mc' or 'MC', the correct WHERE clauses need to account for case sensitivity. Option A ensures both variations by using the INITCAP function to normalize the case before comparing with 'Mc%'. Option D uses the UPPER function to convert the last name to uppercase, which will match any case variation of 'MC%'. These methods effectively capture the required last names. Therefore, the correct options are A and D.
Tried all, AD are correct. B is incorrect as it only returns McCain and not MCEwan due to Mc and MC mismatch.
AD is the correct answer
AD are correct
AD is correct LIKE is case sensitive
AD tested 100% guarantee
AD ARE CORRECT
AD is the answer
A and D are correct, B is wrong.
B is wrong
B is correct. D is incorrect as it will also generate the last name starts with small letter m.
AD are correct