How to use SELECT to find out auto model | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use SELECT to find out auto model

How to SELECT auto FROM auto_list WHERE... where model has 3 symbols?

26th Jun 2019, 8:08 AM
Martynas Demšė
Martynas Demšė - avatar
1 Answer
0
You can extend it to include an OR : SELECT auto FROM auto_list WHERE model = 'Audi' OR model = 'Bentley OR model = 'Mini' More info: https://www.w3schools.com/sql/sql_and_or.asp EDIT: sorry, here's a MySQL specific link: https://www.techonthenet.com/mysql/and_or.php
26th Jun 2019, 8:17 AM
Rincewind
Rincewind - avatar