语法错了吧!select * from mycount , degree where nf='m_year'

解决方案 »

  1.   

    你这样写select * from mycount from degree where nf='m_year' 肯定是不对的,没办法执行。
      

  2.   

    谢谢,我也是想语法有错,但是系统里没有mycount这个表,而且程序里很多都用的这句话
      

  3.   

    select * from mycount,degree where nf='m_year'
    但是系统里没有mycount这个表,而且程序里很多都用的这句话
    ??程序能运行么,不能的话把这句改为:select * from degree where nf='m_year'
      

  4.   

    select * from mycount from degree where nf='m_year'
    不过,这是一个错误得Sql语句
    select * from Table 
    where 字段='具体的值';
     
    'm_year'明明像一个字段,不像是值。
      

  5.   

    应该是:select * as mycount from degree where nf='m_year'
      

  6.   

    select * from mycount from degree where nf='m_year'你肯定程序中多处出现该语句吗?
    程序也可正常运行吗?单一个语句来看,这是个错误的写法。
      

  7.   

    degree  是什么意思??有什么作用??