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
what is query cache in mysql? : Sql dba
What is rank function in sql?
describe transaction-safe table types in mysql : sql dba
What is varchar sql?
Is it possible to update views?
Why function is used in sql?
What is sql query limit?
What does the file extension accdb stand for?
The in operator may be used if you know the exact value you want to return for at least one of the columns.
what is bcp? When does it used? : Sql dba
How many types of indexes are there in sql?
what are myisam tables? : Sql dba
How to return an array from java to pl/sql?
Is a table valued function object?
What is a database? Explain