1

Topic: How correctly to pull out repeating data

How correctly to pull out repeating data
SELECT forms here such table https://yadi.sk/i/OunAaPz13NCo9v
Unique data is stored only in the field meta_value (a city, a surname, phone, an e-mail)
How to correct that was here so
Surname / a city / Phone / Email / comment / points / created?

2

Re: How correctly to pull out repeating data

To connect some copies of the table on a unique field (it is probable, UID), and from each copy to take value meta_value in this or that field of the destination table.
Here only as you will define that in meta_value - a surname, a city or still that, I personally figs know...

3

Re: How correctly to pull out repeating data

But generally it is more reasonable to throw out SELECT which "forms here such table", and to work with the initial data, instead of here this .