CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
database
> Grouping mongo query
Grouping mongo query
Time:09-23
Through group two tables associated query, statistic number,
Similar to SQL
The SELECT t2. ` name `, t2. Id, count (1) as the count FROM A t1, Bt2 where t1. The type_id=t2. The id GROUP BY t2. ` name `, t2. Id;
How to in directing a write
Page link:
https//www.codepudding.com/database/24951.html
Prev:
C # hotpot restaurant management database based service process to the table ah I'm new here wh
Next:
Mysql8.0 how to query the same user account password
Tags:
MongoDB
Related
Links:
CodePudding