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