• +91 9723535972
  • info@interviewmaterial.com

My SQL Interview Questions and Answers

Question - Write a query for a column addition in MySQL

Answer -

For this, an ALTER TABLE query is required. Once invoked, simply mention the column and its definition. Something like this:

ALTER TABLE cars

ADD COLUMN engine VARCHAR(80) AFTER colour;

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners