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.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo