+ 2

SLECT* FROM apartments WHERE price(SELECT AVG(price) FROM apartment) AND status="not rented" 👈I'm wrong. Someone correct this

SQL number 2 project

19th Jun 2021, 8:05 AM
Piyumi Nadeesha Weerarathna
Piyumi Nadeesha Weerarathna - avatar
5 RĂ©ponses
0
Hi
11th Nov 2021, 11:07 AM
Asraul Sk
Asraul Sk - avatar
+ 1
19th Jun 2021, 8:26 AM
Piyumi Nadeesha Weerarathna
Piyumi Nadeesha Weerarathna - avatar
0
Hi
11th Nov 2021, 11:07 AM
Asraul Sk
Asraul Sk - avatar
0
Yeah i dont know why the code runs okay without the status = “Not Rented” part, given that was one of the conditions of the question
4th Apr 2022, 12:58 AM
JJ K