DATABASE ERROR:

SELECT 1
                FROM ddt2_blogs b
				
                WHERE b.owner = 'user'
                       AND (u.group_id = '12')

Unknown column 'u.group_id' in 'where clause'