qa: qa Function for practicing SQL code using the 'questions'...

View source: R/qa.R

qaR Documentation

qa Function for practicing SQL code using the 'questions' vector produced with the 'moomy' database using 'createDB'

Description

qa Function for practicing SQL code using the 'questions' vector produced with the 'moomy' database using 'createDB'

Usage

qa(sql_code, Q = 0)

Arguments

sql_code

SQL code to pull what is being asked in the question pertaining to the 'Q' paramater

Q

The question that corresponds to the 'questions' vector

Value

Whether or not the 'sql_code' provided returns the expected result

Examples

qa(Q = 1, "Select * from PRODUCT_MAP")

JonWayland/one01 documentation built on Sept. 29, 2022, 9:53 a.m.