|||table 1|||
|id|voucher no|transid|Amount|date|
|143170|5680|1|5000|04-05-2023|
|146982|6204|1|3000|07-09-2023|
|146983|6204|1|3000|07-09-2023|
|147944|6335|1|3000|11-10-2023|
|147945|6335|1|3000|11-10-2023|
|||table2|||
|id|voucher no|transid|Amount|date|
|143625|5680|2|4961|04-05-2023|
|147426|6204|2|3000|07-09-2023|
|147427|6204|2|3000|07-09-2023|
|148395|6335|2|3000|11-10-2023|
|148396|6335|2|3000|11-10-2023|
|||output|||
|sno|v.num|pri|int|date|
|1|5680|5000|5680|04-05-2023|
|2|6204|3000|3000|07-09-2023|
|3|6204|3000|3000|07-09-2023|
|4|6335|3000|3000|11-10-2023|
|5|6335|3000|3000|11-10-2023|
i have two tables data.
i need output above like table....