Which SQL statement is used to update data in a database?डेटाबेस में डेटा को अपडेट करने के लिए किस SQL कथन का उपयोग किया जाता है?
डेटाबेस में डेटा को अपडेट करने के लिए किस SQL कथन का उपयोग किया जाता है?
Show answerHide answer
Correct answer: (C) UPDATEअद्यतन
Explanation
UPDATE modifies existing rows in a table, e.g. UPDATE emp SET sal = 5000 WHERE id = 1. ALTER changes the table structure, not the data.UPDATE तालिका की मौजूदा पंक्तियाँ बदलता है, जैसे UPDATE emp SET sal = 5000 WHERE id = 1। ALTER तालिका की संरचना बदलता है, डेटा नहीं।