Thank you for your interest.
Just for the record I post my "unorthodox" solution to my problem. I passed the database to Matlab creating a matrix with the triplets User-Item-Ratings (conveniently enough all three were Integers e.g User1 was represented as "1") and produced my desired table in...
To add to my post: I am able to do it by using two nested loops (the outer iterating all items and the inner all users) but it is a case of "poor" programming (and most importantly too slow too).
I hope that there is an easier, more effective way to do it that I cant figure out....
Hello all.
I am rather inexperienced at SQL and I am facing a problem for which I would appreciate some help:
I have a table A which looks like:
ID User Item Rating
-------------------------------------
1 User1 Item1 SomeRating1
2 User1 Item2 SomeRating2
3 User2 Item1...
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.