No worries at all... we have a column called "title", so that was an easy swap :-)
I already tested the code thoroughly, checked it into subversion and deployed the new app.
Thanks again. Have a great weekend!
Wow, r937!
Not only does my query generate invalid results but your query is accurate and runs lightning fast! I created 5000 test records and your query ran as follows:
108 rows in set (0.06 sec)
Here is what my (invalid) version did :-(
999 rows in set (5.65 sec)
I...
Thanks again.
books_read.id is a "surrogate" key required by our ORM package. id "1" is simply the id of the current user that is not logged in (which in this case is my test id) -- I do this since we are trying to show members what "other" members are reading, I added that check in there...
Thanks, r937. However, what I really need help with is the actual query.
For starters, we have "members" who "read books," and we would like these members to know what other members are reading. So, we have a table called "books" which contains info about the books (unique key column: id)...
Hello.
We need to develop a feature very similar to Amazon's "Customers Who Bought This Item Also Bought" feature.
I'm looking for suggestions on best ways to handle this, via real-time using the actual table or a periodic process that updates a different table (e.g. nightly).
Any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.