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, 3134🔥, 0💬
Popular Posts:
How To Connect ASP Pages to Oracle Servers in Oracle? If you are running Windows IIS Web server and ...
How to download and install Microsoft SQL Server Management Studio Express in SQL Server? Microsoft ...
What Is the Difference Between GETDATE() and GETUTCDATE() in SQL Server Transact-SQL? The difference...
How To Connect to a MySQL Server with a Port Number in MySQL? If you want to connect a MySQL server ...
Where to find answers to frequently asked questions on Conditional Statements and Loops in SQL Serve...