Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[求助] 求助两个表的数据调用和中文条件调用问题

[复制链接]
huoye1982 发表于 2015-4-19 09:53:22 | 显示全部楼层 |阅读模式
调用 common_member和common_member_profile 两个表的信息用group by但是不好用改成order by是可以,
调用中文“单身”不能用
SELECT * FROM ".DB::table('common_member').' common_member, ' .DB::table('common_member_profile')." common_member_profile WHERE common_member_profile.affectivestatus='单身' GROUP BY common_member_profile.uid
请大大指点指点,谢谢

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-11-24 07:15 , Processed in 0.104186 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表