+ 1

What is wrong here?

I am typing this code in MySQL and it is showing an error, what is wrong? > SELECT * FROM world.country WHERE IndepYear=1991 AND Name 'Uzbekistan'; If I type only with IndepYear=1991 it is working fine but if I add Name column it is not working.

17th Sep 2020, 12:13 PM
Ravshan Muso
Ravshan Muso - avatar
2 Respostas
+ 9
You should type: Name = 'Uzbekistan' = compares two string in mysql
17th Sep 2020, 12:15 PM
777
777 - avatar
+ 2
Name='Uzbekistan' worked. Thank you!)
17th Sep 2020, 12:18 PM
Ravshan Muso
Ravshan Muso - avatar