The DELETE command in SQL is used to remove specific rows from a table based on a WHERE clause condition. Unlike DROP or TRUNCATE, which impact the entire table, DELETE operates on a more granular level, enabling selective removal of data while preserving the table structure and any other rows. For example: DELETE FROM employees WHERE department = 'Sales'; This query removes only the rows from the employees table where the department is 'Sales', leaving all other rows intact. Additionally, the DELETE command logs each deleted row, making it possible to rollback transactions if the database supports it (e.g., in databases using transaction control). This makes DELETE particularly useful for scenarios where precision and rollback capabilities are required. Explanation of Incorrect Options: A) DROP : The DROP command is used to completely remove a table or database, including its structure. It is not selective and deletes the entire object. B) TRUNCATE : While TRUNCATE removes all rows from a table, it does not allow selective deletion. Furthermore, TRUNCATE is faster but does not log individual row deletions, making rollback impossible in most cases. D) REMOVE : This is not a valid SQL command. E) UPDATE : The UPDATE command is used to modify existing data, not to delete it.
Which of the following activities undertaken by NBFCs is eligible for bank credit, according to the recent Master Circular - Bank Finance to Non-Banking...
In January 2024, the RBI issued guidelines on the new RBI-Digital Payments Index (DPI). Which of the following parameters carries the highest weight in ...
A PCA Framework for NBFCs has also been put in place to further strengthen the supervisory tools applicable to NBFCs, The same shall apply to:?
Exchange differences are treated where?
Which of the following Statements is not a proper explanation of benefits of Demographic Dividend?
A Public company should hold at least ______ meetings in a year.
The current expected risk-free rate is 4%, the equity premium is 3.9% and the beta is 0.8. calculate the return on equity.
People who are disciplined and organised belong to which type of personality as per the OCEAN Model?
Cash flow from financing activities is a section of a company's cash flow statement , which shows the net flows of cash that are used to fund the comp...
Rights shares are given only to those shareholders who own the company’s shares on ……….