drop columns from table code example
Example 1: drop columnsql
ALTER TABLE table_name
DROP COLUMN column_name
Example 2: drop column dataframe
df.drop(columns=['Unnamed: 0'])
ALTER TABLE table_name
DROP COLUMN column_name
df.drop(columns=['Unnamed: 0'])