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 1706" OR adaptorPublication="Twenty four new Country Dances for the Year 1706") ORDER BY p.sortPublication, sortName, name): Column 'id' in field list is ambiguous