Hi folks
I am trying to work out where the bad grammar is:
START:
SELECT a.name AS text, a.name AS value
FROM #__users AS a
INNER JOIN
#__user_usergroup_map AS b
ON b.user_id = a.id
WHERE b.group_id = 10
OPTIONS VALUE: a.name
END:
SELECT id AS text, id AS value
FROM #__users
WHERE name = [parent]
OPTIONS VALUE: id
PARENT: a.name
This seems legit, can't work out why no work. Tried many permutations. Just end up with not a lot.
Any tips greatly appreciated :)
Unable to work out where to debug the query