博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
PO与PR之间的关系SQL
阅读量:4481 次
发布时间:2019-06-08

本文共 461 字,大约阅读时间需要 1 分钟。

select ph.segment1 po_num,pl.line_num po_line_num,prh.segment1 pr_num,prl.line_num pr_line_num

from po_lines_all pl,
     po_headers_all ph,
     po_line_locations_all pll,
     po_requisition_headers_all prh,
     po_requisition_lines_all prl
where pl.po_header_id=ph.po_header_id
and pl.po_line_id=pll.po_line_id
and prl.line_location_id=pll.line_location_id
and prl.requisition_header_id=prh.requisition_header_id

转载于:https://www.cnblogs.com/keim/archive/2012/01/27/2330267.html

你可能感兴趣的文章
从一列数中筛除尽可能少的数使得从左往右看,这些数是从小到大再从大到小的(网易)。...
查看>>
Python基础-文件操作
查看>>
Java ConcurrentModificationException异常原因和解决方法
查看>>
获取本机ip地址
查看>>
虚函数与纯虚函数的代码解读——2
查看>>
SQL Server 安装程序失败 不能在控件上调用 Invoke 或 BeginInvoke
查看>>
bzoj3283: 运算器
查看>>
jsp的标签
查看>>
HTML中的SVG
查看>>
HDU 5492 Find a path
查看>>
常用ping服务列表
查看>>
AspnetPager表格标题排序功能
查看>>
学习JNA,Jnative
查看>>
MyBatis框架中Mapper映射配置的使用及原理
查看>>
OpenLayers3基础教程——OL3基本概念
查看>>
password、文件MD5加密,passwordsha256、sha384、sha512Hex等加密
查看>>
蓝的成长记——追逐DBA(10):飞刀防身,熟络而非专长:摆弄中间件Websphere...
查看>>
死磕 java同步系列之ReentrantLock VS synchronized——结果可能跟你想的不一样
查看>>
“景驰科技杯”2018年华南理工大学程序设计竞赛 G. Youhane as "Bang Riot"(斜率DP)...
查看>>
极光大数据告诉你,程序员们都在"愁"些啥?
查看>>