SELECT * FROM `tableName` WHERE `ColumnName` IN (1,2,3);
SELECT *
FROM some_table
WHERE relevant_field IN
(
SELECT * FROM
(
SELECT relevant_field
FROM some_table
GROUP BY relevant_field
HAVING COUNT(*) > 1
) AS subquery
)
SELECT
select_list
FROM
table_name
WHERE
search_condition;
AND OR Like In Is
officeCode = 1;
SELECT * FROM `tableName` WHERE `column_1` = 1 OR `column_2` = 2;