Answer Posted / shiva
select sal from emp group by sal;
this query group the same salary.Suppose the table contains 30
records in that same sal is 3 times repeating by using above
query it will fetch only 27 rows of sal.So it wont give the duplicate sal.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
How to run sql commands in sql*plus?
How many unique keys can a table have?
Is it possible to include an insert statement on the same table to which the trigger is assigned?
Does oracle roll back the transaction on an error?
How much does a sql dba make? : SQL DBA
Name some usages of database trigger?
How can triggers be used for the table auditing?
Explain the select statement in sql?
What is a composite primary key?
How to find 3rd highest salary of an employee from the employee table in sql?
What is row_number () in sql?
What are the three forms of normalization?
What is t sql used for?
Cite the differences between execution of triggers and stored procedures?
What type of database is cloud sql?