programming-examples/sql/Joins/Write a SQL statement to make a cartesian product between salesman and customer i.e. each salesman.sql

5 lines
206 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to make a cartesian product between salesman and customer i.e. each salesman will appear for all
customer and vice versa.*/
SELECT *
FROM salesman a
CROSS JOIN customer b;