• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.