Welcome Guest, Not a member yet? Register   Sign In
Query translation in Active Record format
#1

[eluser]Alhazred[/eluser]
How to write this query in Active Record format?
Code:
SELECT c.id AS id,c.name AS name,t.name AS category
FROM category c, type t
WHERE t.id = c.category
ORDER BY c.name


Messages In This Thread
Query translation in Active Record format - by El Forum - 07-17-2012, 02:30 PM
Query translation in Active Record format - by El Forum - 07-17-2012, 11:59 PM
Query translation in Active Record format - by El Forum - 07-18-2012, 12:10 AM
Query translation in Active Record format - by El Forum - 07-18-2012, 05:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB