My Groups

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND BINARY asg.user_int_id = AND BINARY grp.group_int_id = asg.group_int_id AND' at line 3]
SELECT 1 AS memb, grp.`group_int_id`, `group_ext_id`, `group_name`, `parent_group`, `admin_id` FROM `wp_9if2ry_groups` AS grp, `wp_9if2ry_group_assigns` AS asg WHERE BINARY grp.`comp_int_id`= AND BINARY asg.user_int_id = AND BINARY grp.group_int_id = asg.group_int_id AND `parent_group` = "0" UNION SELECT 0 AS memb, grp.`group_int_id`, `group_ext_id`, `group_name`, `parent_group`, `admin_id` FROM `wp_9if2ry_groups` AS grp WHERE grp.group_int_id IN ( SELECT grp2.parent_group FROM `wp_9if2ry_groups` AS grp2 , `wp_9if2ry_group_assigns` AS asg WHERE BINARY grp.`comp_int_id`= AND BINARY asg.user_int_id = AND BINARY grp2.parent_group <> 0 AND BINARY grp2.group_int_id = asg.group_int_id ) AND grp.group_int_id NOT IN ( SELECT asg.group_int_id FROM `wp_9if2ry_group_assigns` AS asg WHERE BINARY asg.user_int_id = ) ORDER BY `group_name`


(No groups have been set up yet)