Sub Queries or better way to do this? |
I need to take this query:
PHP Code: public function get_active_pools() { and join it to a second table that is related by an id and then count how many times the id of the first table is listed in the second table. What is my best method of doing this with Query Builder? |
Welcome Guest, Not a member yet? Register Sign In |