postgresql - 错误:运算符不存在:数字 = 字符变化
问题描述
这是我遇到错误的地方。
SELECT incident_id, incident_name, incident_desc, incident_status,
root_cause_level_1,
root_cause_level_2, remediate_proj_name, remediate_proj_desc, remediate_proj_phase, start_date, end_date
FROM incident_details
INNER JOIN complain_details ON complain_details.complaint_id = incident_details.incident_id;
ERROR: operator does not exist: numeric = character varying LINE 3: ...complain_details ON complain_details.complaint_id = incident... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
我尝试输入 cast 不起作用。
解决方案
推荐阅读
- google-bigquery - 如何通过 CAST 更改 BigQuery 中嵌套字段的类型?
- python - django如何从另一个目录导入文件
- php - WooCommerce 订阅 - 通知翻译不起作用
- c# - 是否可以在 C# 中从 HelixToolKit.WPF 迁移到 HelixToolKit.WPF.SharpDX
- python - 在 Google Colab 上将列表转换为单热编码列表时 RAM 内存不足
- java - 如何将 com.vaadin.ui 导入 Java 项目
- node.js - 导入 node.js 模块 - SyntaxError: Unexpected identifier
- influxdb - 带有多个标签值的勾选脚本
- node.js - 将相同的 objectID 发布到不同的表中
- cucumber - 带有多个标签的黄瓜场景