0

I don’t understand what is wrong?

SELECT * FROM Apartments WHERE price >3750 AND status = '%Not Rented%' ORDER BY price;

7th Jul 2022, 11:38 PM
Lena Kiala
2 Answers
+ 1
1. Why you didn't pay attention to the hint: "⚠Remember the AVG keyword". 2. And what is it in SQL: "="?đŸ€” 3. Look carefully what status should be. 😉
8th Jul 2022, 2:00 AM
Solo
Solo - avatar
+ 1
Well, if you use the "%" operator, then use it correctly: " status LIKE 'Not%' " 😉
8th Jul 2022, 3:34 PM
Solo
Solo - avatar