To use two or more conditions to retrieve, insert, update and delete records from the existing created table. And from this, every condition has to meet. Then we can use a ' WHERE ' statement with AND conditions.
In this statement, it will retrieve the first_name start with specific syntax “su” and employee_id is greater than 150 from the table employees.
In this, both conditions (first_name LIKE “su%”) and (employee_id>150) will be met.
Note- AND Condition not only used in SELECT but also INSERT, UPDATE and DELETE.
# | Program | Language |
---|---|---|
1 | SQL | |
2 | SQL | |
3 | SQL | |
4 | SQL | |
5 | SQL | |
6 | SQL | |
7 | SQL | |
8 | SQL | |
9 | SQL | |
10 | SQL | |
11 | SQL | |
12 | SQL | |
13 | SQL | |
14 | SQL | |
15 | SQL | |
16 | SQL | |
17 | SQL | |
18 | SQL | |
19 | SQL | |
20 | SQL | |
# | Program | Language |
Copyright © 2020 Inovatik - All rights reserved