Merge SQL MetaData rows into single row with multiple columns

Marek Vrábel 6 Reputation points
2021-11-18T08:48:53.9+00:00

Hello I need help. I am using wordpress plugin Formidable, which saves forms to metadata ( id, item_id, and my values ) … But I have working system which is taking data from DB and working with them. But structure of DB for that system is different. Can you help me to merge data from wordpress into table for my system ?

  1. screen is how wordpress saves a data

150507-snimka-obrazovky-2021-11-18-o-91705.png

  1. screen is how I need to save data

table is called "list"

150572-snimka-obrazovky-2021-11-18-o-94801.png

SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2021-11-18T09:21:10.863+00:00

    screen is how wordpress saves a data

    Screenshots are a little bit useless.
    Please post table design as DDL, some sample data as DML statement and the expected result.

    1 person found this answer helpful.

  2. Marek Vrábel 6 Reputation points
    2021-11-19T08:36:13.777+00:00

    I have uploaded my data and my expectations of storing this datas here.

    file.html

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.