|
SELECT cu.uid, cu.nickname, cu.sex, cu.brithyear, cu.resideprovince, cu.residecity, cu.height, ca.pic, cua.content, cua.checka
FROM cndc_user AS cu, cndc_album AS ca, cndc_user_aboutme AS cua
WHERE cu.uid = ca.uid
AND cu.uid = cua.uid
AND cu.sex = $sex
AND cu.brithyear < $maxage
AND cu.brithyear > $minage
AND resideprovince = $province
AND residecity = $city
自我感觉稍显臃肿,试问有没有别的替代办法 |
|