# MySQL id's and primary keys

**URL:** <https://forum.kirupa.com/t/mysql-ids-and-primary-keys/218504>\
**Category:** programming\
**Created:** [March 8, 2007, 9:58am UTC](https://forum.kirupa.com/t/mysql-ids-and-primary-keys/218504 "2007-03-08T09:58:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 8, 2007, 9:58am UTC](https://forum.kirupa.com/t/mysql-ids-and-primary-keys/218504/1 "2007-03-08T09:58:16Z")

</div>

Hello all.

Ok quick question. If say for example i put all the companys details into a table in a database. and that table is only going to hold one company do i have to give that table an id and a primary key? Or will it always be over written with the new information when updated?

Thanks
