This query is not valid. It contains tables that have circular foreign key relationships. Remove the circular references ...