SELECT s, n.x, n.y FROM nested_test ARRAY JOIN nest AS n