有三个表:1、顾客下订单信息表xinxi 2、商品表cp_aboutus  3、会员表huiyuan 
我要查询:某一会员发布的商品的订单信息。其中订单信息表中的zixuan字段的值=商品表中的自动编号字段articleid相同。我用下面的语句查询的话,查询结果是没有一条信息。显然有错误。
select * from xinxi where zixuan  ='select cp_aboutus.articleid from cp_aboutus ,huiyuan where cp_aboutus.username=huiyuan.username'我把语句改为如下,即zixuan字段的值直接等于商品的articleid,就会输出正确的信息。
select * from xinxi where zixuan = '774'。
第一句怎么修改才能出现出结果呢?希望各位高手指教,谢谢。 
问题补充:'select cp_aboutus.articleid from cp_aboutus ,huiyuan where cp_aboutus.username=huiyuan.username' 这条语句中articleid是自动编号 ,这条语句的值是一个自动编号列表。如:<table width="55" border="1">
  <tr>
    <th scope="row">articleid</th>
  </tr>
  <tr>
    <th scope="row">779</th>
  </tr>
  <tr>
    <th scope="row">778</th>
  </tr>
  <tr>
    <th scope="row">776</th>
  </tr>
  <tr>
    <th scope="row">774</th>
  </tr>
</table>
 
有值,它的值是一个列表,里面有好多值,如:775 776 777 778等等。问题1、如何让zixuan字段分别等于775 776 777 ,问题2、zixuan字段是文本型? 'select articleid from cp_aboutus where cp_aboutus.username=huiyuan.username'语句输出的是商品的id自动编号,会不会不匹配?谢谢