Join 2 tables with Sub Query and Union in MySQL
I have table 1 and table 2, where Table 1 is master table and Table 2 is child table. Relationship of both table has been implemented by primary key of table 1(id) with table_1_id column in table 2. I need…