Data Access Question: Download Oracle Data Access PDF

Explain Can we delete tuples in a table based on date column? And how?

Tweet Share WhatsApp

Answer:

Use this SQL query :delete from student_tab A where ROWID > ( select min(ROWID) from student_tab B where A.roll_number = B.roll_number);Note : Table Name = student_tab Key to table = roll_number

Yes ,, we can delete entries from a table based on the date column,,Only we have to mention the date format or other wise we'll have to make use of the sys date.

Download Oracle Data Access PDF Read All 18 Oracle Data Access Questions
Previous QuestionNext Question
Explain What are the values that can be specified for OPTIMIZER MODE Parameter?Explain What is the effect of setting the value "ALL_ROWS" for OPTIMIZER_GOAL parameter of the ALTER SESSION command?