sql using subqueries code example
Example 1: why we use subquery in sql
We use subquery in order to get aggregate value in column without grouping data
Example 2: subquery sql
UPDATE Book SET note= 'editore: ' + (SELECT name FROM Publisher WHERE Publisher.ID = Book.publisher)