Untitled

CREATE TABLE users_jdbc
USING org.apache.spark.sql.jdbc
OPTIONS
	(
		url='jdbc:sqlite:/sample_db',
		dbtable='users'
	)

-- Template
CREATE TABLE <jdbcTable>
USING org.apache.spark.sql.jdbc or JDBC
OPTIONS (
    url = "jdbc:<databaseServerType>://<jdbcHostname>:<jdbcPort>",
    dbtable " = <jdbcDatabase>.atable",
    user = "<jdbcUsername>",
    password = "<jdbcPassword>"
)