Welcome Guest, Not a member yet? Register   Sign In
Active Record + Join SQL Problem
#2

[eluser]darkhouse[/eluser]
As far as I know, there's no way to 'combine' the timestamp field in each different table into one field, which is what you're trying to do. If you do sort by table1.timestamp, table2.timestamp, etc... its going to sort all table1 rows by timestamp, and then all table2 rows... it won't mix the tables. I'm not sure this is possible.


Messages In This Thread
Active Record + Join SQL Problem - by El Forum - 02-18-2009, 06:26 PM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 02:19 AM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 03:49 AM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 06:03 AM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 07:13 AM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 01:49 PM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 02:21 PM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 02:26 PM
Active Record + Join SQL Problem - by El Forum - 02-19-2009, 02:52 PM
Active Record + Join SQL Problem - by El Forum - 02-20-2009, 08:51 AM
Active Record + Join SQL Problem - by El Forum - 02-28-2009, 03:50 PM
Active Record + Join SQL Problem - by El Forum - 02-28-2009, 05:01 PM
Active Record + Join SQL Problem - by El Forum - 02-28-2009, 05:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB