Advertisement

08.16.2008 at 07:06AM PDT, ID: 23653500
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.3

HOW TO WRITE THIS SUB QUERY

Asked by chaituu in Oracle Database

one employee can have multiple employee items;this is one-many relation;

I want to find out those ONLY EMPLOYEE DETAILS which are having same country;
so final result should be employees:1,3,6;
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
CREATE TABLE EMPLOYEE
{
  ID    NUMBER NOT NULL PRIMARY KEY
 
}
INSERT INTO EMPLOYEE(ID) VALUES(1);
INSERT INTO EMPLOYEE(ID) VALUES(2);
INSERT INTO EMPLOYEE(ID) VALUES(3);
INSERT INTO EMPLOYEE(ID) VALUES(4);
INSERT INTO EMPLOYEE(ID) VALUES(5);
INSERT INTO EMPLOYEE(ID) VALUES(6);
 
 
 
CREATE TABLE EMPLOYEE_ITEMS
{
  ID                   NUMBER NOT NULL PRIMARY KEY,
  EMP_ID               NUMBER NOT NULL REFERENCES EMPLOYEE (ID),
  COUNTRY	       VARCHAR2(10) 	
 
}
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(1,1,'IND');
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(2,1,'IND');
 
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(3,2,'US');
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(3,2,'');
 
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(4,3,'GB');
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(5,3,'GB');
 
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(6,4,'ANG');
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(7,4,'EXE');
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(8,4,'SAE');
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(9,4,'EXE');
 
 
 
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(10,5,'ZZZ');
 
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(11,6,'AAA');
INSERT INTO EMPLOYEE_ITEMS(ID,EMP_ID,COUNTRY) VALUES(12,6,'AAA');
[+][-]08.16.2008 at 07:18AM PDT, ID: 22244178

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 07:23AM PDT, ID: 22244195

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 07:25AM PDT, ID: 22244200

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 07:55AM PDT, ID: 22244257

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:02AM PDT, ID: 22244278

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle Database
Sign Up Now!
Solution Provided By: pkwan
Participating Experts: 3
Solution Grade: A
 
 
[+][-]08.16.2008 at 08:04AM PDT, ID: 22244290

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:06AM PDT, ID: 22244294

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:10AM PDT, ID: 22244304

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:10AM PDT, ID: 22244305

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:12AM PDT, ID: 22244309

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:19AM PDT, ID: 22244325

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 09:02AM PDT, ID: 22244417

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 10:44AM PDT, ID: 22244655

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 09:43PM PDT, ID: 22246118

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 09:55PM PDT, ID: 22246139

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 10:22PM PDT, ID: 22246177

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 10:53PM PDT, ID: 22246228

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628