How will you select unique values from a list of records?
Answer Posted / eshwer
by using min(rowid) or max(rowid). its like deleting duplicate values.
select columns from emp where rowid not in[in] (select maxrow(id) from emp group by columns);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
What is row_number () in sql?
How many types of index are there?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
What is the left table in sql?
What is the starting oracle error number?
Where not exists in sql?
What is embedded sql what are its advantages?
How to display the current date in sql?
What are the three forms of normalization?
What is raw datatype in sql?
What is use of term?
give the syntax of grant and revoke commands? : Sql dba
what are all different types of collation sensitivity? : Sql dba