programming-examples/sql/Joins/Write a SQL query to display all the data from the item_mast, including all the data for each item's producer company.sql

5 lines
233 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL query to display all the data from the item_mast, including all the data for each item's producer company.*/
SELECT *
FROM item_mast
INNER JOIN company_mast
ON item_mast.pro_com= company_mast.com_id;