"Proper" Query Test (D1 with a join)