let say i wana to make site for rateing books by the users u know people going to write what they think about the books and things
i will make table called (rate) and in this table
book_id .... user_id .... user_rate ... user_text
u know the book id is for the book number in our database and user_id is for the user number in our database
user rate is number from 0 to 10
user text is text for what user think
is it right to put all the rateing in one tables ?
i mean there is some books will have more then 1000 rates and when i will call them i will use
select * from rate where book_id='$bookid'
is it slow if i have alot of database by the time ?
u know if is my first project and i afread to have problim i have now in my site more then 6000 users and i think i will have more by the time
so what is the best way the best plane to have this rateing idea done without problim
i wish u get the idea and why im afread i dont know what is the big and what us not big in the database becouse as i told u im stell new