Welcome Guest, Not a member yet? Register   Sign In
Having Trouble Linking Values of 2 Functions
#9

[eluser]Jay Logan[/eluser]
Not returning the expected result. I've been messing with some MySQL in phpMyAdmin to see what statement works and came up with this:

Code:
SELECT SUM(teampoints) FROM (SELECT teampoints from ievents WHERE meet_id = ? AND teamname = ? AND eventgender = 'F' AND teampoints != 0 ORDER BY teampoints LIMIT 5)

This returns the correct result. Now, to try it work in CI is another story.


Messages In This Thread
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 08:49 AM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 09:18 AM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 09:43 AM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 09:52 AM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 10:06 AM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 11:25 AM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 11:37 AM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 12:13 PM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 12:33 PM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 12:39 PM
Having Trouble Linking Values of 2 Functions - by El Forum - 09-29-2008, 12:42 PM
Having Trouble Linking Values of 2 Functions - by El Forum - 10-03-2008, 07:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB