Welcome Guest, Not a member yet? Register   Sign In
Active Record
#1

[eluser]schnoodles[/eluser]
Hello i was playing around with active record, and just got stuck with a select statement of

Code:
SELECT *,count(id),(SELECT MAX(id) FROM channelpollvote WHERE channelpollid=2)  FROM channelpollvote WHERE channelpollid=2 GROUP BY vote;

And i cannot think of how i could implement this :\

Does anyone know using the way of

$this->db->select();


Messages In This Thread
Active Record - by El Forum - 08-20-2007, 10:52 PM
Active Record - by El Forum - 08-21-2007, 01:48 AM
Active Record - by El Forum - 08-21-2007, 05:32 PM
Active Record - by El Forum - 08-21-2007, 05:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB