Welcome Guest, Not a member yet? Register   Sign In
Need help in ActiveRecord queries...
#2

[eluser]kgill[/eluser]
Your example query isn't very helpful, you talk about position 1, position 2, but only select id. What columns are you looking to see in the result set, just id? Secondly how are the two tables related, is there a foreign key relationship between them or are they just two separate tables with similar info. That detail makes a huge difference in how the query is written.


Messages In This Thread
Need help in ActiveRecord queries... - by El Forum - 09-09-2009, 01:36 AM
Need help in ActiveRecord queries... - by El Forum - 09-09-2009, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB