Welcome Guest, Not a member yet? Register   Sign In
How to write this SQL statement in Active Record
#8

[eluser]glopv2[/eluser]
As an added bonus, if you know you're only hunting for 1 result you could use "LIMIT 1" to let mysql stop searching once it finds the 1st match.


Messages In This Thread
How to write this SQL statement in Active Record - by El Forum - 06-10-2010, 08:11 AM
How to write this SQL statement in Active Record - by El Forum - 06-10-2010, 08:36 AM
How to write this SQL statement in Active Record - by El Forum - 06-10-2010, 09:10 AM
How to write this SQL statement in Active Record - by El Forum - 06-10-2010, 09:25 AM
How to write this SQL statement in Active Record - by El Forum - 06-10-2010, 10:27 AM
How to write this SQL statement in Active Record - by El Forum - 06-10-2010, 11:03 AM
How to write this SQL statement in Active Record - by El Forum - 06-14-2010, 12:12 PM
How to write this SQL statement in Active Record - by El Forum - 06-14-2010, 05:36 PM
How to write this SQL statement in Active Record - by El Forum - 06-14-2010, 10:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB