select stuName as 姓名 stuAddress as 地址
from stulnfo 
where stuAddress is null
第一行的语法为什么错误?
as 不能同时用多次显示吗

解决方案 »

  1.   

    select stuName as 姓名, stuAddress as 地址
    from stulnfo 
    where stuAddress is null
      

  2.   

    select stuName as 姓名 , stuAddress as 地址     --lz,少了 ','
    from stulnfo 
    where stuAddress is null
      

  3.   

    select stuName as 姓名 ,stuAddress as 地址
    from stulnfo 
    where stuAddress is null
      

  4.   

    select stuName as 姓名, stuAddress as 地址
    from stulnfo 
    where stuAddress is null--少了一個逗號