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, 2961🔥, 0💬
Popular Posts:
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...
How to download and install SQL Server 2005 Sample Scripts in SQL Server? If you want to learn from ...
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
What Are the Differences between BINARY and VARBINARY in MySQL? Both BINARY and VARBINARY are both b...
How to download and install the scaled-down database AdventureWorksLT in SQL Server? If you want to ...