Dear All, * Inputs:* Query 1 = column1.table1, Query2 = column2.table1 column3.table1 = foreign_key using this two queries and foreign key (column3.table1), I have to print a column4.table2 *condition:* where column3.table1 = column3.table2 I need to print *OUTPUT* column4.table2 Its simple in find_by_sql. I need in "find". Please suggest me. -- With Regards Palani Kannan. K Office: +49-531-2616-226 Mobile: +4917647098166 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.