MySQL
- 8 ответов
- 0 вопросов
8
Вклад в тег
SELECT DISTINCT
email,
phone
FROM
table
SELECT * FROM table1 t1, (
SELECT DISTINCT
email,
phone
FROM
table) AS t2
WHERE t1.email = t2.email AND t1.phone = t2.phone
SELECT GROUP_CONCAT(post_comment.comment_content SEPARATOR ' ') FROM users GROUP BY users.user_id;