How to use SELECT to find out auto model | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
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