local mariadb thinks this query is ambiguous, but mysql on medved won't have it any other way