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
Is id a reserved word in sql?
What are sql data types?
What are the two types of exceptions in pl/sql?
Is sql a scripting language?
Explain the difference between triggers and constraints?
what are the join types in tsql? : Transact sql
Is sql scripting language?
How many primary keys can a table have?
What is mutating error?
How to read/write files from pl/sql?
What is crud stand for?
How do you run a query?
What is field delimiter?
how to delete an existing column in a table? : Sql dba
Why are cursors used?