Hy I have a sql table called match_liked with 3 data, the id, the user_id, and the match_id
+----+---------+----------+
| id | user_id | match_id |
+----+---------+----------|
| 1 | 100 | 63 |
| 2 | 63 | 100|
| 3 | 45 | 77 |
| 4 | 11 | 44 |
| 5 | 33 | 2 |
+----+------+-------------+
U can see than 100 Liked 63 AND 63 liked 100 too so i want select all i tried this :
SELECT * from match_liked WHERE user_id = 100 AND match_id = 63 AND user_id = 63 AND match_id = 100
But it doesn't work, so what the correct query for check if both user liked each other ?