I don't know why it doesn't work | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

I don't know why it doesn't work

Complete to extract information about the records that have an id different from 1 SELECT * FROM orders WHERE customer_id != 1

2nd Aug 2023, 3:07 AM
Akhmad Fajar
Akhmad Fajar - avatar
3 ответов
+ 4
Check the spellings of table name and column name again.. Put a semicolon after the statement. It not work then may be it's a bug so then report it by info@sololearn.com along with screen shots.
2nd Aug 2023, 4:02 AM
Jayakrishna 🇮🇳
+ 2
It may be that the brand of SQL does not accept != for not equal. Instead, use <>.
2nd Aug 2023, 6:24 AM
Brian
Brian - avatar
0
SELECT * FROM orders WHERE customer_id <> 1
3rd Aug 2023, 3:47 AM
Sam Attal
Sam Attal - avatar