I want to make a single select query field where I can choose users from a certain usergroup:
SELECT `a.id`,`a.name`,`b.user_id`, `b.group_id` FROM `#__users`, `a` INNER JOIN `#__user_usergroup_map`, `b` ON `a.id` = `b.user_id` WHERE `b.group_id` LIKE `17` ORDER `a.name` ASC
The above works in a Joomla db query, but it throws an error in the CB query field - why ?