I have these two tables that have nothing in common and I would like a query that gives the results of both but I don't know how to proceed Article table:
id id_user article lang time
1 1 something en 327367
2 2 something en 364756
Product table:
id id_buyer id_seler time_product
1 1 1 463737
2 2 1 487474
Expected result:
id id_user article lang time id id_buyer id_seler time_product
1 1 something en 327367 null null null null
2 2 something en 364756 null null null null
null null null null null 1 1 1 463737
null null null null null 2 2 1 487474
I've read about union but I'm not sure I can apply it here. I would like a page that indifferently lists items and products ordered on time