select distinct A.uid, A.email, B.uid from table1 A, table2 B where A.uid = B.uid and B.email= 'email参数';
解决方案 »
- smarty连接数据库出错~~
- 请问一下如何判断一个字段是否存在
- MDB2的lastinsertid不能正常使用
- 如何让一段php程序每隔一个小时运行一次
- 新人学习PHP问题,发现书上代码不对
- 初,在帽9上,初,装mysql-standard-4.1.13-unknown-linux-gnu-ia64-rhas21.tar.gz 请指点具体方法。
- 这是什么错?
- php中怎样用session进行用户身份验证,php.ini应该怎样配置啊???
- 我要死了!
- 数据库我进行关闭出错$rsArr4->close();
- apache已经配好,可就是不解析PHP,总让下载!!
- 请问用什么函数能看所有当前活动的变量
select distinct A.uid, A.email, B.uid from table1 A, table2 B where A.uid = B.uid and A.email= 'email参数';
有的要用
select uid from a into b on a.uid=b.uid