Relation to multiple tables of different types for rating?

Posted by Tronic on Stack Overflow See other posts from Stack Overflow or by Tronic
Published on 2013-11-11T15:51:30Z Indexed on 2013/11/11 15:52 UTC
Read the original article Hit count: 290

Filed under:
|
|

i have a table structure like this

  • Products
  • Team
  • Images

and want to implement a rating/commenting-feature, where users can rate each entry of all tables. what's the best way to make a single rating table? e.g. a user votes a a product and a team entry, and it should be possible to get alle these entries from a single table. what kind of table-structure is best for this purpose?

i hope, my questions is clear enough :/

thanks in advance!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sql