Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql - find in comma separated string of values

SELECT * FROM table WHERE FIND_IN_SET(table_column, string_of_comma_separated_values);

SELECT * FROM Students WHERE FIND_IN_SET('John, Jake, Micheal, Alan, Aaron');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #find #comma #separated #string #values
ADD COMMENT
Topic
Name
3+1 =