我想查询出地址包括‘北京’的所有人的信息
如果写 select * from information where address=‘北京’
他只是把地址是‘北京’的列了出来 
要想把地址包括‘北京’的所有信息都列出来 应如何查询
谢谢~~~~
 

解决方案 »

  1.   

    select * from information where address like '%北京%' 
      

  2.   

    select * from information where address like '%北京%'
    %表示任意个字符。
      

  3.   

    address like'%北京%' 
      

  4.   

    模糊查询select * from information where address like '%北京%' 
    同意楼上高手们的
      

  5.   

    select * from information where address like'%北京%'