Learn SQL Programming from the Best Tutors
Search in
1.To add columns dynamically in MySQL, you can use the `ALTER TABLE` statement with the `ADD COLUMN` clause. For example, to add a single column, you can excute
ALTER TABLE table_name ADD COLUMN column_name data_type;
2.If you want to add multiple columns at once, you can separate them with commas:
ALTER TABLE table_name
ADD COLUMN column1_name data_type,
ADD COLUMN column2_name data_type;
You can execute these commands through a MySQL client or a script using PHP or another programming language, depending on your appl ication needs.
read lessRelated Questions
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Make a Career as a BPO Professional
Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...
Make a Career in Mobile Application Programming
Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...
8 Hottest IT Careers of 2014!
Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...
Learn Hadoop and Big Data
Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...
Looking for SQL Programming Training?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for SQL Programming Classes are on UrbanPro
The best Tutors for SQL Programming Classes are on UrbanPro