code: def create_table(db, schema_name, table_name, columns):
      
      table = '{0}.{1}'.format(schema_name, table_name) if schema_name else table_name
      db.execute('DROP TABLE IF EXISTS {0}'.format(table))
      columns_list = ', '.join(columns)
      db.execute('CREATE TABLE {0} ({1})'.format(table, columns_list))
docs: Create a table, schema_name.table_name, in given database with given list of column names.