SQL ALTER DROP query not working -
i learning sql online w3school.com.
for droping column
alter table table_name drop column column_name command given in sql alter page
i tried in try yourself section provided w3school.
it's not working
i used
alter table customers drop column city; i try query on compile online/sql.
again it's not working.
so, can 1 explain me wrong.
did notice says in brackets?
to delete column in table, use following syntax (notice database systems don't allow deleting column)
see answers these questions:
how delete or add column in sqlite?
w3schools uses websql. try sqlfiddle instead.
Comments
Post a Comment