sql 进入po / trans类型

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql 进入po / trans类型相关的知识,希望对你有一定的参考价值。

select *
from vw_ce_dms_transactions
where TransactionDateTime between '20180102' and '20180103'
and TransactionType like '%intake'
and WOType = 'PO'
and Cancelled = 0
order by TransactionDateTime


select 
		p.PLUCode,
		p.PLUDescription,
		d.TransactionType,
		d.IPN,
		d.UID,
		d.Units,
		d.NetWeight,
		d.TransactionDateTime AS IntakeDate,
		d.WONo AS PO
from vw_ce_dms_transactions d
left join vw_df_plu_file p ON d.PLUID = p.PLUID
where TransactionDateTime between '20180102' and '20180103'
and TransactionType like '%intake'
and WOType = 'PO'
and Cancelled = 0
order by TransactionDateTime

以上是关于sql 进入po / trans类型的主要内容,如果未能解决你的问题,请参考以下文章

hibernate 直接通过表名,获取字段名及字段类型??

如何使用pybabel在jinja 2.10 {%trans%}中转义'%'字符?

SQL事务用法begin tran,commit tran和rollback tran的用法

sql取排序后的第一行

关于sql当中的group by 和partition by 的区别。

sql dld_monthly_trans_api代码