write a query to dispaly those name who is more than one in
student table?
example- in a student table sandeep kumar comes 4 times,
rakesh kumar comes 2 times, ajit kumar comes 1 times so
query will display sandeep kumar and rakesh kumar single
times.
Answer Posted / abc
SELECT name FROM student_table
GROUP BY name
HAVING ( COUNT(name) > 1 );
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to rollback the current transaction in oracle?
What is the difference between primary key and unique key and foreign key in oracle?
What to do if the startbd.bat failed to start the xe instance?
What is a package ? What are the advantages of package ?
How would you go about verifying the network name that the local_listener is currently using?
How to set up autotrace for a user account?
How to define a sub function?
What is a user account in oracle?
What is a nested table?
How to load data from external tables to regular tables?
What is procedure overloading in oracle?
Explain the difference between a procedure and a function? What do you understand by those terms?
Name the various constraints used in oracle?
How to use subqueries with the exists operator in oracle?
Can a formula column be obtained through a select statement ?