- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Environmental Science
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to delete a column in SQL ?
To delete a column in SQL we will be using DROP COLUMN method:
ALTER TABLE employees
DROP COLUMN age;
We will start off by giving the keywords ALTER TABLE, then we will give the name of the table, following which we will give the keywords DROP COLUMN and finally give the name of the column which we would want to remove.
- Related Questions & Answers
- How to create a table in SQL ?
- How to delete a row in SQL ?
- What is Normalization in SQL ?
- What is MYSQL ?
- How can I see all tables in SQL?
- How to delete a column in SQL ?
- What is PL/SQL ?
- What is a schema in SQL ?
- What is join in SQL ?
- What is a trigger in SQL ?
- How to insert multiple rows in SQL ?
- What is Data Integrity ?
- How to delete a table in SQL ?
- What is Primary Key in SQL ?
- What is SQL server ?
- What is OLTP ?
Advertisements
ads