![]() |
#2
cnfarer2012-12-16 18:52
|
查询两个表,要求临时表为表3的样子,怎么实现,谢谢
表1
si_no n1 N2
11 pq 12
11 fa 23
表2
si_no P1 p2
11 ds 12
11 21 13
11 ds 23
表3
si_no n1 n2 p1 p2
11 pq 12 NULl NULL
11 fa 23 null null
11 null null ds 12
11 null null 21 13
11 null null ds 23