Make changes to an existing Totara block

Write SQL script to extract data from one table to another in proper format

Need MySQL/SQL Expert with Moodle Experience to Extract and add Table to Database