Circular reference caused by <query reference>. (Error 3102)

You tried to execute a query that depends on itself for data. For example, this error occurs if you execute either of the following queries:

Query1

SELECT * FROM Employees, Query2;

Query2

SELECT * FROM Query1;

Redesign the queries to eliminate the dependency.