你试一下下面的程序:
  select 客户号,客户名 form customer and woom where customer.id=room.id
你的room 表不是最优结构!把最后的customerid去掉。可减少冗余.我是这么认为,若有不对请高手指点!