Frappe insight query about not selecting the condition

Actually i want to inner join stock entry and stock entry detail when i try to select condition its throw


i try to select parent field but not working