You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
236 B
MySQL
7 lines
236 B
MySQL
5 years ago
|
/*1. Write a query to display all the orders from the orders table issued by the salesman 'Paul Adam'.*/
|
||
|
SELECT *
|
||
|
FROM orders
|
||
|
WHERE salesman_id =
|
||
|
(SELECT salesman_id
|
||
|
FROM salesman
|
||
|
WHERE name='Paul Adam');
|