MySQL Forums :: Newbie :: Question related to unique key


Advanced Search

Question related to unique key
Posted by: g_p g_p ()
Date: March 16, 2009 07:43AM

Hello, whenever i'm creating a table i specify which of the fields is the primary key e.g.

create table mouse(ms_id integer,
manufacturer varchar(50),
connection varchar(50),
primary key(ms_id));

What is unique key? is it obligatory to place a unique key and what does this mean?

Thanks,in advance!

Options: ReplyQuote


Subject Written By Posted
Question related to unique key g_p g_p 03/16/2009 07:43AM
Re: Question related to unique key laptop alias 03/16/2009 08:13AM
Re: Question related to unique key g_p g_p 03/16/2009 03:56PM
Re: Question related to unique key Rick James 03/16/2009 10:48PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.