Python MySQL

MySQL Create Table

Creating tables

MySQL Create Table

To create a table in MySQL, use the "CREATE TABLE" statement.

Create Table

mycursor.execute("CREATE TABLE customers (name VARCHAR(255), address VARCHAR(255))")