use query in where clause mysql code example Example: mysql query where in SELECT * FROM `tableName` WHERE `ColumnName` IN (1,2,3);