I have a database with a few tables and columns. I would like to populate table1 with data based on the calculation of data in table2, table3, and table4. I need data in all those tables in order to properly assess what should be inserted into table1. I would like it to be a stored entity so it can be reused over and over by just calling it. What is the best and smartest way to go about this using mysql?
If I’m not being clear enough let me know.
Thankz loads in advance.
I have a database with a few tables and columns. I would like to
Share
Use a stored procedure, and populate table1 with the
insert..selectpattern: