Sail E0 Webinar
Question
Find the error in the following query?SELECT cust_id, fed_idFROM customerWHERE cust_id = 'I'AND fed_id BETWEEN 5000-00-000 AND 9999-999-000;
Options:
A .  Yes
B .  No
C .  Range too high to compare
D .  None of the mentioned
Answer: Option B


In the following query, there will be no error in executing as 5000-00-000 AND 9999-999-000 is "string ranges.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers