Question 38Asked in Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)

Which one of the following commands is used for removing (or deleting) a relation forms the SQL database?SQL डेटाबेस के संबंध को हटाने (या हटाने) के लिए निम्नलिखित में से किस आदेश का उपयोग किया जाता है?

SQL डेटाबेस के संबंध को हटाने (या हटाने) के लिए निम्नलिखित में से किस आदेश का उपयोग किया जाता है?
  1. ADeleteमिटाना
  2. BDropगिराना
  3. CRemoveहटाना
  4. DAll of theseये सभी
Show answerHide answer

Correct answer: (B) Dropगिराना

Explanation

DROP TABLE removes the whole relation, both its structure and its data. DELETE removes only rows and keeps the table.DROP TABLE पूरी relation को हटा देता है, उसकी संरचना और डेटा दोनों। DELETE केवल पंक्तियाँ हटाता है और table रखता है।

From Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM)

This is question 38 of Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.