Q. Find the error in the following MySQL statement?
SELECT cust_id, fed_id
FROM customer
WHERE cust_id = ’I’
AND fed_id BETWEEN 5000-00-000 AND 9999-999-000;

  • (A) Yes
  • (B) No
  • (C) Range too high to compare
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) No
Explanation: This question tests your understanding of how to use the WHERE clause in MySQL, specifically when working with numeric data. Let's break down the code and find the error:
Explanation by: Vinay
This question tests your understanding of how to use the WHERE clause in MySQL, specifically when working with numeric data. Let's break down the code and find the error:

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
95%
Success Rate