join temptable using joinsin sql

丶灬走出姿态 提交于 2019-12-24 08:08:16

问题


I have two columns vendornum and invoice status in my temp-table. Now I want to join three more columns EY_AmountIncl_LC,EY_AmountExcl_LC,EY_datedocumented to that temptable and output should look like following.

VendorNumber EY_AmountIncl EY_AmountExcl EY_datedocumented  InvoiceStatus
50000471     281072          281072         00:00.0           V-Parked Items 
5200991      80000            80000         00:00.0           V-Parked Items
5200595     72401.6          72401.6         00:00.0           V-Parked Items
5202384    402207.68        402207.68        00:00.0           V-Parked Items

Is there may way to do it.I am very new to sql .can any one help me in this.I am using management studio 2014

来源:https://stackoverflow.com/questions/52270352/join-temptable-using-joinsin-sql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!