code_sql_join: SQL JOIN

View source: R/code_sql_join.R

code_sql_joinR Documentation

SQL JOIN

Description

SQL code to join table

Usage

code_sql_join(sql, table_to_join, by, sel.cols = "*", join_type = "inner")

Arguments

sql

an object of type code_sql_sample, character in SQL format that has SQL which selects records

table_to_join

the table that you want to join to

by

the SQL string criteria that joins the records (ie: X.a = Y.a)

sel.cols

the columns from the supplied sql that you would like to select

join_type

the type of join (ie: inner, left, right)

Details

Joins table to sql query


MattjCamp/Coder documentation built on April 28, 2023, 4:53 p.m.