The AND operator display a records if both the first condition AND the second condition are true.
Syntax :-
SELECT * FROM table_name
WHERE column_name = 'value'
AND column = 'value';
Ex:-
SELECT * FROM new_tab
WHERE name = 'Anu'
AND stu_id = '5';
Syntax :-
SELECT * FROM table_name
WHERE column_name = 'value'
AND column = 'value';
Ex:-
SELECT * FROM new_tab
WHERE name = 'Anu'
AND stu_id = '5';
This is a database.
Example :-
0 Comments:
Post a Comment