I have a database with 19 different tables.
dbListTables(con)
[1] "Sample_86103" "Sample_87024" "Sample_87082" "Sample_88156" "Sample_89090" "Sample_90061" "Sample_90186"
[8] "Sample_90204" "Sample_91023" "Sample_91_0235_2" "Sample_92178" "Sample_93146" "Sample_93253" "Sample_94049"
[15] "Sample_94152" "Sample_94184" "Sample_94286" "Sample_96034" "Sample_96102
I just need to use a FULLJOIN
command on each table, similar to rbind
in R.
Since I am a novice in SQL language, I have tried created the data.frame
first by rbinding each of the Samples together, and finally write a database.
However, this takes up too much memory, and crashes my R session. So it is now necessary for me to use SQL database creation.
So using R, how can I join the created tables from the list above?