sql - MYSQL: search IN string as an array of integers -
i have field named authors varchar storing ids of authors (i know wrong save ids varchar !!) want search in field int, example:
select * table 3 in convert(substring_index(`authorid`,',',-1),unsigned integer) where authorid value '3,4,5'.
is possible, how can it?
Comments
Post a Comment