Compare a given value with multiple values field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi My Best List, I have a field in a table contains "3,31,11,10" (let say tablefield1) and I have a given value which I need to check if it exists in that list.
   
  I've tried:
  SELECT * FROM table WHERE 3 IN ( tablefield1 );
   
  Any ideas?

 		
---------------------------------
Get your email and more, right on the  new Yahoo.com 

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux