Collections:
Using IN Conditions in MySQL
How To Use IN Conditions in MySQL?
✍: FYIcenter.com
An IN condition is single value again a list of values. It returns TRUE, if the specified value is in the list. Otherwise, it returns FALSE. Some examples are given in the tutorial exercise below:
SELECT 3 IN (1,2,3,4,5) FROM DUAL;
1
SELECT 3 NOT IN (1,2,3,4,5) FROM DUAL;
0
SELECT 'Y' IN ('F','Y','I') FROM DUAL;
1
⇒ Using LIKE Conditions in MySQL
⇐ Converting Character Strings to Numeric Values in MySQL
2018-03-28, 2508🔥, 0💬
Popular Posts:
What To Do If the StartDB.bat Failed to Start the XE Instance in Oracle? If StartDB.bat failed to st...
What are single-byte character string data types supported in SQL Server Transact-SQL? Single-byte c...
How To Get Year, Month and Day Out of DATETIME Values in SQL Server Transact-SQL? You can use DATEPA...
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
What Is Program Global Area (PGA) in Oracle? A Program Global Area (PGA) is a memory buffer that is ...