I have two SQLite3 tables in two separate sqlite files:
Table1 (in file1):
Id Number
----- ------
21 1
22 2
23 3
24 4
and Table2 (in file2):
Id Number
----- ------
21 15
32 16
33 17
34 18
I would like to produce a new table, which accumulates values of Number if there is match. So I would like an output:
TableSummary (should be in Newfile or in file1):
Id Number
----- ------
21 16
22 2
23 3
24 4
32 16
33 17
34 18
What kind of statement I should use to achieve the result?