Ruby on Rails Wednesday, January 5, 2011

djangst,

yes.. its exactly this... but how can i do that in another way?

Thanks

2011/1/5 djangst <djangst@gmail.com>
I think your subquery may be too complex. Don't you just want to
select ids from Times where the day isn't 'Monday' and use that set as
the filter on the top-level query?

On Jan 5, 1:35 pm, Fernando Leandro <fernandoleandro1...@gmail.com>
wrote:
> Actually, i tried to make this query using NOT IN, i made something like
> this:

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment