Welcome Guest, Not a member yet? Register   Sign In
Active records - "smart" select
#12

[eluser]ibnclaudius[/eluser]
But this is not what I want. I need to select the communities the user MAY want to follow. So how I do select the communities that probably interest the user? I select all users from the communities he follows and check the most common communities they follow that I don't have.

I did it:
Code:
http://sqlfiddle.com/#!2/c501e/37/0

The problem is that it returns only communities that there's a user that follow another community as me. I want to show all communities that I don't follow, ordered by this "probably interest".



Messages In This Thread
Active records - "smart" select - by El Forum - 06-15-2012, 12:22 PM
Active records - "smart" select - by El Forum - 06-15-2012, 09:41 PM
Active records - "smart" select - by El Forum - 06-15-2012, 09:47 PM
Active records - "smart" select - by El Forum - 06-15-2012, 09:59 PM
Active records - "smart" select - by El Forum - 06-15-2012, 09:59 PM
Active records - "smart" select - by El Forum - 06-15-2012, 10:00 PM
Active records - "smart" select - by El Forum - 06-15-2012, 10:21 PM
Active records - "smart" select - by El Forum - 06-15-2012, 10:51 PM
Active records - "smart" select - by El Forum - 06-15-2012, 10:57 PM
Active records - "smart" select - by El Forum - 06-15-2012, 10:59 PM
Active records - "smart" select - by El Forum - 06-15-2012, 11:07 PM
Active records - "smart" select - by El Forum - 06-15-2012, 11:30 PM
Active records - "smart" select - by El Forum - 06-16-2012, 12:04 AM
Active records - "smart" select - by El Forum - 06-20-2012, 06:48 PM
Active records - "smart" select - by El Forum - 06-20-2012, 10:20 PM
Active records - "smart" select - by El Forum - 06-23-2012, 07:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB