| sql.join | R Documentation |
dbi.tablesA SQL-like join of two dbi.tables that share the
same DBI connection. All columns from
both dbi.tables are returned.
sql.join(x, y, type = "inner", on = NULL, prefixes = c("x.", "y."))
x, y |
|
type |
a character string specifying the join type. Valid choices are
|
on |
a |
prefixes |
a 2-element character vector of distinct values. When |
a dbi.table.
chinook <- dbi.catalog(chinook.duckdb)
Album <- chinook$main$Album
Artist <- chinook$main$Artist
sql.join(Album, Artist, type = "inner",
on = Album.ArtistId == Artist.ArtistId,
prefixes = c("Album.", "Artist."))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.