adspace
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 collation? : Sql dba
what are all the common sql function? : Sql dba
how to escape special characters in sql statements? : Sql dba
Is inner join faster than left join?
how to start mysql server? : Sql dba
Can delete statement be rollbacked?
What is the current version of postgresql?
how many tables will create when we create table, what are they? : Sql dba
define sql insert statement ? : Sql dba
what is schema? : Sql dba
what are aggregate and scalar functions? : Sql dba
Can we rollback truncate?
Is primary key always clustered index?
how to use regular expression in pattern match conditions? : Sql dba
What is the current version of sql?