DO THIS:
This SQL Server AND condition example would insert into the contacts table, all employee_id, last_name, and first_name records from the employees table where the first_name is 'Joanne' and the employee_id is greater than or equal to 800.
For example:
UPDATE employees SET last_name = 'Johnson' WHERE last_name = 'TBD' AND employee_id < 300;
This SQL Server AND condition example would update all last_name values in the employees table to 'Johnson' where the last_name is 'TBD' and the employee_id is less than 300.
DO THIS:
This SQL Server AND condition example would insert into the contacts table, all employee_id, last_name, and first_name records from the employees table where the first_name is 'Joanne' and the employee_id is greater than or equal to 800.
DO THIS:
This SQL Server AND condition example would insert into the contacts table, all employee_id, last_name, and first_name records from the employees table where the first_name is 'Joanne' and the employee_id is greater than or equal to 800.
For example:
UPDATE employees SET last_name = 'Johnson' WHERE last_name = 'TBD' AND employee_id < 300;
This SQL Server AND condition example would update all last_name values in the employees table to 'Johnson' where the last_name is 'TBD' and the employee_id is less than 300.