Query failed (SELECT id FROM dances d INNER JOIN publications p ON d.publication=p.pub WHERE ( publication = "The Dancing Master, Vol. the first, 17th ed." OR adaptorPublication="The Dancing Master, Vol. the first, 17th ed.") ORDER BY p.pubYear,p.sortPublication, sortName, name): Column 'id' in field list is ambiguous