mysql if query for where condition code example
Example: in condition in mysql
//Syntax
SELECT * FROM `tableName` WHERE `ColumnName` IN (Value1,Value1,Value1);
//Example:
SELECT * FROM `members` WHERE `membership_number` IN (1,2,3);
//Syntax
SELECT * FROM `tableName` WHERE `ColumnName` IN (Value1,Value1,Value1);
//Example:
SELECT * FROM `members` WHERE `membership_number` IN (1,2,3);