Query failed (SELECT id FROM dances d INNER JOIN publications p ON d.publication=p.pub WHERE ( publication = "Twenty Four New Country Dances for the Year 1708" OR adaptorPublication="Twenty Four New Country Dances for the Year 1708") ORDER BY p.sortPublication, sortName, name): Column 'id' in field list is ambiguous