"joe collins" <[EMAIL PROTECTED]> wrote: > does MySQL support composite keys?
Yes, MySQL supports composite keys: http://www.mysql.com/doc/en/Multiple-column_indexes.html > > I have a table 'Group_Map' > > This has 3 fields > > contact_id (primary key in another table) > group_id (candidate key in another table) > user_id (primary key in another table) > > > is it possible / advisable to create and maintain a composite key for this > table? Sorry, I don't understand what exactly you want to get. It depends on your queries on which columns it will be efficient to create an index. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]