Welcome Guest, Not a member yet? Register   Sign In
How can I write this query with Active Records?
#3

[eluser]Pert[/eluser]
Wouldn't simple query like this be enough?

Code:
SELECT * FROM products_table, products_status
WHERE
products_table.class = 3 AND
products_table.status = products_status.id
ORDER BY products_table.id
LIMIT 50


Messages In This Thread
How can I write this query with Active Records? - by El Forum - 05-23-2013, 08:35 PM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 02:13 AM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 05:21 AM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 02:33 PM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 02:37 PM
How can I write this query with Active Records? - by El Forum - 05-29-2013, 01:12 AM
How can I write this query with Active Records? - by El Forum - 05-29-2013, 04:20 AM
How can I write this query with Active Records? - by El Forum - 05-29-2013, 04:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB