how to relationship query two different tables in MySQL
snippet in sql

how to combine 2 tables in MySQL

user7320

create table yourTableName
(
   select *from yourTableName1
)
UNION
(
   select *from yourTableName2
);

how to relationship query two different tables in MySQL

user7385

SELECT product_name, customer.name, date_of_sale  
FROM sales, product, customer 
WHERE  product.product_id = sales.product_id 
AND customer.customer_id >= sales.customer_id LIMIT 0, 30