Hi y'all,
Is there a way to link two columns within a table to be unique?
For example, the columns in a table "users" are:
user_id(primary key, auto_increment), user_name, date
I'd like to have user_name and date linked to each other so there could be only one entry per user_name per day. Is this possible in mySQL?
Thank you!!!
Is there a way to link two columns within a table to be unique?
For example, the columns in a table "users" are:
user_id(primary key, auto_increment), user_name, date
I'd like to have user_name and date linked to each other so there could be only one entry per user_name per day. Is this possible in mySQL?
Thank you!!!