In this select query i am getting all the field values of respective field names which i want to show. Now, the problem is how can i use the update query to update the field value of those field name like 'personnum' or 'clearingnum'.
    SELECT *
    FROM (
    SELECT DATE_FORMAT( FROM_UNIXTIME( submit_time ) , '%b %e, %Y  %l:%i %p' ) AS Submitted, 
MAX( IF( `field_name` = 'your-email', field_value, NULL ) ) AS 'your-email', 
MAX( IF( `field_name` = 'your-id', field_value, NULL ) ) AS 'your-id', 
MAX( IF( `field_name` = 'personnum', field_value, NULL ) ) AS 'personnum', 
MAX( IF( `field_name` = 'clearingnum', field_value, NULL ) ) AS 'clearingnum', 
MAX( IF( `field_name` = 'kontonum', field_value, NULL ) ) AS 'kontonum'
    FROM wp_cf7dbplugin_submits
    WHERE `form_name` = 'Uppgifter form'
    GROUP BY submit_time
    ORDER BY submit_time DESC
    ) AS wpcf7_fetched_data
    WHERE `your-id` = 4
 
    