Add "from dual" to sqls selecting constants in tests for Oracle, fixes #20388