programming-examples/sql/Joins/Write a SQL statement to make a join on the tables salesman, customer and orders in such a form that the same column of each table will appear once and only the relational rows will come.sql

6 lines
273 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to make a join on the tables salesman, customer and orders in such a form that the same column of each
table will appear once and only the relational rows will come.*/
SELECT *
FROM orders
NATURAL JOIN customer
NATURAL JOIN salesman;