Update and alter use
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Shrishti Gusain 4 years, 11 months ago
- 1 answers
Related Questions
Posted by Siya Vishwakarma 7 months, 2 weeks ago
- 1 answers
Posted by Parth Chaudhary 9 months, 1 week ago
- 2 answers
Posted by Prapti Dubey 6 months ago
- 0 answers
Posted by Honey Hanisha 9 months, 3 weeks ago
- 0 answers
Posted by Yashika Kakkar 6 months, 2 weeks ago
- 1 answers
Posted by Akib Chowdhury 5 months, 4 weeks ago
- 1 answers
Posted by Martina Sangchoju 9 months, 3 weeks ago
- 2 answers
Posted by Simran Batra 5 months ago
- 0 answers
Posted by Arifa Meharun 4 months ago
- 0 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Surajbhan Choudhary 4 years, 11 months ago
These are two different SQL Statements.
UPDATE command is used to update the data lying in the tables. e.g.
UPDATE students SET marks = marks + 10 WHERE subject = "Hindi";
the above statement will increase the marks column values by 10 where the subject value is Hindi.
where as ALTER command is used to change the Structure of a table. e.g. to add a new column in students table the SQL command will be -
ALTER TABLE students ADD remarks varchar(10);
the above command will add a new column with name remarks in students table.
0Thank You