Answer the question
In order to leave comments, you need to log in
Select rows with one unique field from mysql table?
I looked at similar topics, but the solutions did not fit :(
There is a mysql table like:
From | TO | TEXT | Data |
-----------------------------------
name1 | name3 | text1 | Data1
name1 | name3 | text2 | Data2
name2 | name3 | text3 | Data3
name3 | name1 | text4 | Data4
From | TO | TEXT | Data |
-----------------------------------
name1 | name3 | text1 | Data1
name2 | name3 | text3 | Data3
WHERE to='name3'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question