Skip to content

Instantly share code, notes, and snippets.

import mysql.connector
all_sql_tables = [...]
# An example of a single table creation called "articles" in SQL command
sql_articles = """CREATE TABLE IF NOT EXISTS articles (ID int AUTO_INCREMENT,
doi_link varchar(255) NOT NULL,
title varchar(255),
abstract TEXT,
publication_date varchar(255),
citations int,