Answer Posted / kirankumar.vangeti
For the same example given in the answer 1
select studentname, subject, count(studentname) as count
from student
group by studentname, subject
having (count(studentname)>1);
above query will give the results like
STUD1 A 2
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are different types of keys?
How can we solve sql error: ora-00904: invalid identifier?
What is rename in sql?
How to fix oracle error ora-00942: table or view does not exist
What is meaning of <> in sql?
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
Can delete statement be rollbacked?
Can you call pl/sql package functions from within a fast formula?
Why commit is not used in triggers?
What is sequence in sql?
What is difference between stored procedures and application procedures?
How to run pl sql program in mysql?
How do I enable sql encryption?
Is null operator in sql?
how to create a table index in mysql? : Sql dba