Hi,
I want to show on a dropdown field with identifier id the name of the users that have assigned the "Registered" group on Joomla users section.
I am trying to make this SQL Select query With DB Read:
SELECT `User`.`id` AS `User.id`, `User`.`name` AS `User.name` FROM `z2ma5_users` AS `User`,`z2ma5_user_usergroup_map` AS `UserGroups` WHERE `User`.`id` = `UserGroups`.`user_id` AND `UserGroups`.`group_id`= '2';
I get this error:
Unknown column 'User.user_groups_user_id' in 'on clause' SQL=SELECT `User`.`id` AS `User.id`, `User`.`name` AS `User.name` FROM `z2ma5_users` AS `User` LEFT JOIN `z2ma5_user_usergroup_map` AS `UserGroups` ON `User`.`user_groups_user_id` = `UserGroups`.`user_id`
PLEASE, CAN YOU TELL ME WHAT I HAVE TO PUT ON DB READ SETTINGS?
Thanks. Regards,
Joaquín
I want to show on a dropdown field with identifier id the name of the users that have assigned the "Registered" group on Joomla users section.
I am trying to make this SQL Select query With DB Read:
SELECT `User`.`id` AS `User.id`, `User`.`name` AS `User.name` FROM `z2ma5_users` AS `User`,`z2ma5_user_usergroup_map` AS `UserGroups` WHERE `User`.`id` = `UserGroups`.`user_id` AND `UserGroups`.`group_id`= '2';
I get this error:
Unknown column 'User.user_groups_user_id' in 'on clause' SQL=SELECT `User`.`id` AS `User.id`, `User`.`name` AS `User.name` FROM `z2ma5_users` AS `User` LEFT JOIN `z2ma5_user_usergroup_map` AS `UserGroups` ON `User`.`user_groups_user_id` = `UserGroups`.`user_id`
PLEASE, CAN YOU TELL ME WHAT I HAVE TO PUT ON DB READ SETTINGS?
Thanks. Regards,
Joaquín