MYSQL 的二次查询怎么写? 本帖最后由 tianya2297360 于 2011-10-20 14:29:27 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 什么意思?几个表?为啥要查询这么多次。select title,code from test where code = '456';这个就可以获得所有的code为456 的title了。select * from test;这个可以获得所有的title和code select title,code from test where title = (select title from test where code = '456'); select title,code from test where title = (select title from test where code = '456');正解 是正解么?如果有多个code = 456 的,那么用=还对么?即使用子查询也要用.select title,code from test where title in (select title from test where code = '456'); php添加代码,本机通过上传至服务器就不能添加数据 大小写转换问题 PHP抓取问题~!!大侠们进来啊~~~!! 求一个简单注册表单提交,并发送邮件到指定信箱的源码 弹出菜单出不来喔 php源文件给ioncube编码过,有办法破译吗? 找朋友帮忙测试程序并散分~~ php怎么执行起来这么慢 提示:Warning: Undefined variable: grade in D:\flashlong\flash\admin\config.php on line 104 设置session会话失败? $cryptkey = $keya.md5($keya.$keyc);什么意思 怎么备份数据库!!!
这个就可以获得所有的code为456 的title了。select * from test;
这个可以获得所有的title和code
正解
如果有多个code = 456 的,那么用=还对么?即使用子查询也要用.select title,code from test where title in (select title from test where code = '456');