how to write a select query in mysql? -


i have table column named place holds data 1,2,3(comma separated values). need details of table place = 1

select * schools place = 1     

try this:

select * schools find_in_set('1',place); 

for more information find_in_set refer this: find_in_set


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -