用View.(即设计一个视图就可以了.SQLserver里叫view,Access里叫"查询"吧.)

解决方案 »

  1.   

    用View.(即设计一个视图就可以了.SQLserver里叫view,Access里叫"查询"吧.)
      

  2.   

    select 表1.字段1, 表1.字段2, 表2.字段1, 表2.字段2 From 表1, 表2 where 表1.字段3=''
      

  3.   

    select a.*, b.* 
    from table1 a, table2 b 
    where a.columnX='true'
      

  4.   

    为什么我这样写却不对呢?
    sql="select addes.*,oher.* from addes,oher where addes.orderid=oher.orderid and addes.orders=true" 
      

  5.   

    为什么我这样写却不对呢?
    sql="select addes.*,oher.* from addes,oher where addes.orderid=oher.orderid and addes.orders=true" 
    但如果 where只选择其中一项就可以了,语法错误?
      

  6.   


    初学SQL,许多地方都不懂,请大家继续指教。:)
      

  7.   

    select addes.*,oher.* from addes,oher where addes.orderid=oher.orderid and addes.orders=true语句没有错!应该是别的问题.与其 addes.orders=true
    不如 addes.orders=1或者0
      

  8.   

    hnxyy(大师)
    煞笔,知道我是谁吧,呵呵