ANDย OPERATOR IN SQL
The AND operator displays a record if all the conditions separated by AND are TRUE.
Syntax-
SELECT column1, column2, columnN
FROM <table_name>
WHERE <condition1>AND <condition2>โฆAND <conditionN>;
OR OPERATOR IN SQL
The OR operator displays a record if any of the conditions separated by OR is TRUE.
Syntax-
SELECT column1, column2, columnN
FROM <table_name>
WHERE <condition1> OR <condition2>โฆOR <condition>;
NOT OPERATOR IN SQL
The NOT operator displays a record if the condition(s) is NOT TRUE.
Syntax-
SELECT column1, column2, columnN
FROM <table_name>
WHERE NOT<condition1>;
Saraswat World Changed status to publish June 14, 2023
Leave a Reply