Answers for "mysql select where field is a value"

SQL
0

mysql select where field is a value

SELECT *
FROM myTable
WHERE myColumn = 'resultA' 
   OR myColumn = 'resultB' 
   OR myColumn = 'resultC';

-- Alternatively,

SELECT *
FROM myTable
WHERE myColumn IN ('resultA', 'resultB', 'resultC');
Posted by: Guest on October-07-2021

Code answers related to "mysql select where field is a value"

Code answers related to "SQL"

Browse Popular Code Answers by Language