Answer Posted / ravi patel
for the table emp
ID NAME
1 ravi
2 umang
1 ravi
3 nishant
now fire the query as beleow
select * from emp group by id,name having count(id)>1 and
count(name)>1;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can a table contain multiple primary key’s?
Is sql better than access?
What is microsoft t sql?
Can we use ddl statements in stored procedure?
List the ways to get the count of records in a table?
How do I run a sql query?
write an sql query to find names of employee start with 'a'? : Sql dba
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
what is normalization? : Sql dba
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
Mention what problem one might face while writing log information to a data-base table in pl/sql?
Is it possible to sort a column using a column alias?
What is a native sql query?
Which data dictionary views have the information on the triggers that are available in the database?
what is the different between now() and current_date()? : Sql dba