Can a database table be without a primary key?

Posted by bodacydo on Stack Overflow See other posts from Stack Overflow or by bodacydo
Published on 2010-03-25T12:53:55Z Indexed on 2010/03/25 13:03 UTC
Read the original article Hit count: 473

Filed under:

Can anyone help me understand if a table in a relational database (such as MySQL) can be without a primary key?

For example, I could have table day_temperature, where I register temperature and time. I don't see the reason to have a primary key for such a table.

Thoughts?

Thanks, Boda Cydo.

© Stack Overflow or respective owner

Related posts about database