select a from yourtable
where b='教授'

解决方案 »

  1.   

    select A from yourtable
    where B='教授'
      

  2.   

    select a from yourtable where b='教授'
      

  3.   

    select A from yourtable
    where B='教授'
      

  4.   

    我不是这个意思。我想得到的是A列的值,把他赋给一个变量。我是用PB开发的。在PB里怎么写呀???
      

  5.   

    select a from yourtable where b='教授'
      

  6.   

    select a from yourtable where b in (教授列值)
      

  7.   

    int sql
    select a into : sql from yourtable where b='教授';用于pb