SatishPutcha
Programmer
Hello All
I heve two tables Publishers and Books.
Publishers has:
PublisherID
PublisherName
BookCount
Books has:
BookID
PublisherID
BookName.
I want a query that will update the BookCount field for every Publisher taking the number of books each one of them has in the Books table.
What would be the mySQL Update query for this?
Hope I have given enough information. I will gladly provide more.
Regards
Satish
Thanks and Regards
Satish Kumar
I heve two tables Publishers and Books.
Publishers has:
PublisherID
PublisherName
BookCount
Books has:
BookID
PublisherID
BookName.
I want a query that will update the BookCount field for every Publisher taking the number of books each one of them has in the Books table.
What would be the mySQL Update query for this?
Hope I have given enough information. I will gladly provide more.
Regards
Satish
Thanks and Regards
Satish Kumar