title: MySql PHP Combine Select Queries
body: <p>3 types of information I need from database I know how to get all products ids available in the database but I also want to get the price and the attribute for each productid and have it in a php loop to be able to insert it to other table all information combined</p>
  
  <p>I just want to combine all this 3 infromation and insert into custom table how can I combine it or should I loop to get price + attribute for each product ID?</p>