mysql - How to make a table's specific column unique to another table -
i have 2 tables:
tag | song _________|___________ tagname | songtitle song_id | i want make tagname unique song_id using mysql.
in database add unique key the tagname column.so not allow duplicate entry.