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