Welcome Guest, Not a member yet? Register   Sign In
Need some DB help
#12

[eluser]zilverdistel[/eluser]
[quote author="Firestorm ZERO" date="1205460489"]Yeah I know about bridge tables. I mentioned I am using a bridge table in my post.

I meant how are people grabbing the data from the 3 tables to display all the results on a page. I mentioned two methods in my posts above. I'm trying find the optimal method of doing so.[/quote]

I wouldn't use GROUP_CONCAT. 2 joins and a GROUP_BY should do it. To process the result array, see the example I gave in one of the first posts (a nested iteration). Does that answer your question?


Messages In This Thread
Need some DB help - by El Forum - 03-12-2008, 04:07 PM
Need some DB help - by El Forum - 03-12-2008, 06:30 PM
Need some DB help - by El Forum - 03-12-2008, 06:45 PM
Need some DB help - by El Forum - 03-12-2008, 07:04 PM
Need some DB help - by El Forum - 03-13-2008, 03:17 AM
Need some DB help - by El Forum - 03-13-2008, 07:29 AM
Need some DB help - by El Forum - 03-13-2008, 07:50 AM
Need some DB help - by El Forum - 03-13-2008, 08:49 AM
Need some DB help - by El Forum - 03-13-2008, 01:50 PM
Need some DB help - by El Forum - 03-13-2008, 02:37 PM
Need some DB help - by El Forum - 03-13-2008, 03:08 PM
Need some DB help - by El Forum - 03-13-2008, 07:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB