sql - SQL 更新引用表中的值
解决方案
select distinct t.No,
t.ReportDate,
t.OpNo,
r.Definition as MethodOper
from tblRefCodes r
inner join table1 t on t.Methodoper = r.Code
推荐阅读
- diff - 如何在 Perforce/P4V 中使用 010 编辑器比较文件
- python - EC2 SSH 进入其他 SSH 并运行 bash 脚本
- google-chrome - 即使请求被缓存,Chrome 也会限制与域的同时连接
- php - laravel SQLSTATE [22007]:无效的日期时间格式:1366 不正确的十进制值:'buy_amt * 0.00097812555575316' 列 'price' 在第 1 行错误
- scala - 如何使用 spark scala 将数据帧转换为 RDD 并将其存储在 cassandra
- javascript - 在所有测试都以开玩笑的方式运行后,如何在 node.js 中关闭 pg-promise 连接?
- html - 如何按x轴拉伸表格单元格中的背景图像?
- python - 访问字典,用字典中的信息替换用户输入中的项目
- vba - 如何在一个模块中运行两个应用程序
- javascript - hyperHTML:更新列表