Ahkin
注册会员

中级会员
UID 17741
精华
0
积分 176
帖子 169
金钱 176 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2002-11-15 来自 Hong Kong
状态 离线
|
如何用一條查詢求多個結果?
請大家指教一下.
現在有3個db:
Companys
id,name
services
id,name
company_to_services
id, company_id, service_id
只用一條查詢得出: 1. 所有合符某個services要求的company, 2. 而且包含所有這個company的其他services.
我只會1,不會2, 請問各位知道要怎樣做嗎?
謝謝
|
|