SQL - Set Operations
Given two tables:
item_id | item_name | quantity
1 | Chair | 5
2 | Table | 3
3 | Lamp | 7
item_id | item_name | quantity
3 | Lamp | 7
4 | Sofa | 2
Which SQL query returns the common rows between these tables?
InventoryA:item_id | item_name | quantity
1 | Chair | 5
2 | Table | 3
3 | Lamp | 7
InventoryB:item_id | item_name | quantity
3 | Lamp | 7
4 | Sofa | 2
Which SQL query returns the common rows between these tables?
