表论坛
|id_forum|name_forum|
| 1 |forum 1 |
| 2 |forum 2 |
表螺纹
|id_thread|name_thread|id_forum|
| 1 |thread 1 | 1 |
| 2 |thread 2 | 1 |
我需要一个返回的查询
|name_forum|thread|
| forum 1 | 2 |
| forum 2 | 0 |
你能帮我吗?