Answers for "how to use subquery in sql server"

SQL
1

subquery in sql

UPDATE dataflair_emp1 
SET salary=35000
WHERE emp_id  = ( SELECT emp_id
                    FROM dataflair_emp1
                    WHERE post='Sr.Manager');     
select * from dataflair_emp1;
Posted by: Guest on July-19-2021
1

subquery sql

UPDATE Book SET note= 'editore: ' + (SELECT name FROM Publisher WHERE Publisher.ID = Book.publisher)
Posted by: Guest on December-26-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language