Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to drop a column from table in MySQL?

Sometimes we need to drop a column that we don't need further from the table. We can do this by using DROP keyword with ALTER command. Syntax: To drop/delete the column from a table, use the following syntax: ALTER TABLE table_name DROP...

How to add a column after a particular column in MySQL?

Sometimes we need to add a column after a particular column. We can do this easily by using ALTER command with AFTER attribute. Example: in the below command I'm adding "latitude" column after "address" column where "address" column already ex...

How to add a column with comment in MySql?

Sometimes we need to add a column with comment. We can do this easily by using COMMENT attribute in alter command. Ex- Find the below alter command which will add "address" column to "user" table after "country" column. ALTER TABLE `user` A...

How to add comment on a table in MySQL?

Sometimes wee need to add a comment on a table for more readability means to define what is the use of that table. We can do this at the time of table creation or by ALTER command after creating the table. At the time of table creation: ...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: