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, 3116🔥, 0💬
Popular Posts:
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...
Collections: Interview Questions MySQL Tutorials MySQL Functions Oracle Tutorials SQL Server Tutoria...
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...
How To Generate CREATE VIEW Script on an Existing View in SQL Server? If you want to know how an exi...
How Run SQL*Plus Commands That Are Stored in a Local File in Oracle? If you have a group of commands...