select * from 表 where 列='20'''

解决方案 »

  1.   

    select * from 表 where 列 like '%'%'
      

  2.   

    经过验证: pbsql(风云) select * from 表 where 列='20'''
     是正确的!
      

  3.   

    如果是'20的话select * from 表 where 列='''20'
    也可以
      

  4.   

    select * from titles where title_id = '20'''
      

  5.   

    1.
    select * from 表 where 列='20'''2.select * from 表 where 列='20\''
      

  6.   

    谢谢大家的帮助。ptyt(梁朝伟)虽然答案错了,能够主动声明,以免误导别人,梁朝伟君的精神让小弟万分钦佩,特送上10分,以示表彰。