I have 2 table. Table A Payment Table B Phone
I want combine result of below 2 query of difference schema into 1 table.
select Payment_DT
from DW.Payment
SELECT PHONE_NUMBER
FROM STG_ANALYSIS.PHONE
This is the output I am looking for.
Payment_Dt Phone_Number
3/31/2018 123-456-7890
not knowing the logic but to merge the two should be
if there is a logic to join the two tables then use inner/left join