Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / neha_gupta

select ename,count(1) from student
group by ename
having count >1

Is This Answer Correct ?    9 Yes 1 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / u.radha

SELECT STUD_NAME,COUNT(*) FROM STUDENT GROUP BY STUD_NAME
HAVING COUNT(*) > 1

Is This Answer Correct ?    8 Yes 1 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / gourav

select first_name,count(*) from employees
group by first_name
having count(*)>1;

Is This Answer Correct ?    3 Yes 0 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / seethal

select stu_name from(select stu_name,count(stu_name) sc from
stu_table group by stu_name)where sc > 1;

Is This Answer Correct ?    2 Yes 0 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / u.radha

select distinct student_name from student;

Is This Answer Correct ?    4 Yes 3 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / dheer

select v_id from dup where rowid not in (select max(rowid)
from dup group by v_id);

Is This Answer Correct ?    1 Yes 0 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / abc

SELECT name FROM student_table
GROUP BY name
HAVING ( COUNT(name) > 1 );

Is This Answer Correct ?    1 Yes 0 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / cheeku

select distinct NM from
(
(select name from student_tbl M where exists
(select 1 from student_tbl S where
S.name = M.name and
S.rowid <> M.rowid)
)NM;

Is This Answer Correct ?    0 Yes 1 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / valmiki sreenivasulu

A)select sname from student group by sname;

Is This Answer Correct ?    3 Yes 4 No

write a query to dispaly those name who is more than one in student table? example- in a studen..

Answer / abrar yaseen

select student_name from student group by student_name
having count(OCCURANCE) > 1

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Oracle General Interview Questions

What is forall Statement ?

2 Answers   Thermotech,


what is difference between cartesian join & cross join even they give same result?

4 Answers   Bank Of America,


What are internal user account in oracle?

0 Answers  


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

0 Answers   IBM,


How can one skip any number of rows while loading the DB tables with SQL Loader? Similarly how can one skip any column?

1 Answers   IBM,


How to delete a column in an existing table in oracle?

0 Answers  


5. Display full details from the ORDER_LINE table where the item number is (first condition) between 1 and 200 (no > or < operators) OR the item number is greater than 1000 AND (second condition) the item cost is not in the list 1000, 2000, 3000 OR the order number is not equal to 1000.

3 Answers   Wipro,


How to create an initialization parameter file?

0 Answers  


WHAT IS THE DEFINITION OF DEFAULT CUSTOMER IN AR?

0 Answers   Intelligroup,


How to build data dictionary view an new database?

0 Answers  


How to retrieve data from an explicit cursor?

0 Answers  


I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance

0 Answers   Cisco,


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)