SQL TUTORIALS-
SQL WHERE clause Statement
Introduction-
π What is the WHERE Clause?β WHERE clause in SQL is used to filter records. commonly used in SELECT, UPDATE, DELETE, and INSERT statements to limit the data affected by the query. The condition can include operators like =, >, <, BETWEEN, LIKE, IN, IS NULL, and logical operators like AND, OR, NOT.
β Basic Example1:-Select customers from USA
SELECT *
FROM Customers
WHERE Country = 'USA';
β Result Show :-
CustomerID | Name | Country |
---|---|---|
1 | ANNI | USA |
2 | SUJAN | USA |
3 | BOULT | USA |