Wednesday, January 5, 2011

[Rails] Re: How to make this SQL Query?

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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate