'Convert MySQL to MongoDB Query - Get Data from diff collection and match with first one
Wants To Convert this MySQL Query to MongoDB Query. But Don't know how to get user2 and match with first user's name.
SELECT name
FROM users, (SELECT name FROM users) as user2
where name like CONCAT("%",user2.name,"%'")
GROUP BY name
ORDER BY name;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
