Is it possible to have a MySQL column containing multiple values as foreign keys?
问题 I am learning MySQL and have MariaDB installed in Fedora 19. I have a scenario where I require a column to contain multiple values in order to reduce possible redundancy of column allocation. In the example below, is it possible to have each value in the tags column of the log table reference the tag_id column in the tags table? users user_id | 1 | activities activitity_id | 1 log user_id | activity_id | tags 1 | 1 | 1,3,5 # multiple foreign keys? tags tag_id | 1 | 2 | 3 | 4 | 5 | If it is