Answer Posted / sri
For example,u have a table called student like below.
STUD-NAME SUBJECT
--------- ------
STUD1 A
STUD2 B
STUD2 A
STUD1 A
in this structure 1 row is duplicated in 4 th. so we can
fetch the student name using the below qry.
SELECT stud-name FROM STUDENT
GROUP BY stud-name,subject
HAVING COUNT > 1.
| Is This Answer Correct ? | 12 Yes | 10 No |
Post New Answer View All Answers
How to move files from one directory to another in pl sql?
What is the purpose of a secondary key?
Is sql pronounced sequel or sql?
What is sql query limit?
What are different functions in sql?
What is a full join?
What do you mean by dbms? What are its different types?
What is Materialized View? In What Scenario we Use Materialized View?
Why do we create views in sql?
Advantages and disadvantages of stored procedure?
What is a primary key example?
how to get a list of indexes of an existing table? : Sql dba
Is ms sql traffic encrypted?
what is the functionality of the function htmlentities? : Sql dba
What does where 1 1 mean in sql?