We have following table where we are storing students details
We have another table where we wish to store the logs
Now I wish to know is there any way we can loop through first table and insert data into another table using just mysql? I know it is very easy to write a simple script, but I need only mysql solution!
Transformation Rules
- Shaun and mark are missing in table 2 because they were absent on the day of exam
- For table 2, log would be Rob scored 3.2 marks not Rob scored 3.2 it was a type