Hello, A solution to my problem: "For an athlete's first entry in the database I need a column value of 1. The second performance entry of the same athlete would have a value of 2. And so on." has been posted by Paul Dubois:
ALTER TABLE tbl_name ADD seqnum INT UNSIGNED NOT NULL AUTO_INCREMENT, ADD PRIMARY KEY (name, seqnum) This worked perfectly and was very fast on a table with 2.6 million records and 179,00 athletes. Many thanks. Bruce --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php