Jump to content

query function


  • Please log in to reply
No replies to this topic

#1 Tim



  • Members
  • Pip
  • 6 posts

Posted 18 May 2012 - 12:01 PM

Hi everyone! i have a question about sql query
i know that there is no query function in grocery but i have some sql statement that i could not converted it  to grocery function
Does anyone can help me about this?


select * from (select group_id from t_super_user_group where user_id=100) as table1
left join (SELECT * FROM t_user_group left join t_user on t_user_group.user_id=t_user.id) as table2 on table1.group_id=table2.group_id

thank you in advanced ;)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users