Is there any way to get the correct conditions? Both options in MYSQL fail to achieve expected results
P粉394812277
P粉394812277 2023-09-15 13:36:02
0
1
560

SELECT cstmr_type FROM add_vehicle
WHERE cstmr_type = 'Visitor' AND cstmr_type = 'Hospital';

SELECT cstmr_type FROM add_vehicle
WHERE cstmr_type = 'Visitor' & 'Hospital';

P粉394812277
P粉394812277

reply all(1)
P粉322918729

Try to use the IN keyword

SELECT cstmr_type FROM add_vehicle WHERE cstmr_type IN ('访客', '医院')
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template