Advertisement

05.28.2008 at 08:24AM PDT, ID: 23438414
[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!

9.4

Select Query based on certain condition

Asked by Collindsouza in PL / SQL, Oracle 9.x, SQL Query Syntax

I have a view in a oracle database that returns the following rows

PO_NO    DOC_NO     FORMAT  
=====    ======     ======
ALPL01   T-123.111  pdf
ALPL01   T-123.111  zip
ALPL01   T-456.222  pdf
ALPL01   T-789.333  acad
ALPL01   T-985.444  pdf

I want to query the view to return all records with "pdf" in the format column and also those rows where the column DOC_NO is the same as a pdf

So the rows i ould like to retrieve are those marked as <--- YES.

PO_NO    DOC_NO     FORMAT  
=====    ======     ======
ALPL01   T-123.111  pdf     <--- YES (because its pdf)
ALPL01   T-123.111  zip     <--- YES (because it shares the same Doc_No as the row above which has a format as pdf)
ALPL01   T-456.222  pdf    <--- YES (because its pdf)
ALPL01   T-789.333  acad  <--- No (because its not a PDF nor does it share a common doc number with a row that has a format of PDF)
ALPL01   T-985.444  pdf    <--- YES (because its pdf)

Please help!!!!
Start Free Trial
[+][-]05.28.2008 at 08:38AM PDT, ID: 21661421

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.

 
[+][-]05.28.2008 at 09:33AM PDT, ID: 21661937

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]05.28.2008 at 09:44AM PDT, ID: 21662030

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

Zones: PL / SQL, Oracle 9.x, SQL Query Syntax
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 4
Solution Grade: A
 
 
[+][-]05.28.2008 at 10:37AM PDT, ID: 21662487

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.

 
[+][-]05.28.2008 at 11:20AM PDT, ID: 21662870

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]05.28.2008 at 12:29PM PDT, ID: 21663523

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.

 
[+][-]05.28.2008 at 01:29PM PDT, ID: 21664086

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.

 
[+][-]05.28.2008 at 01:36PM PDT, ID: 21664134

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.

 
[+][-]05.28.2008 at 01:42PM PDT, ID: 21664187

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.

 
[+][-]05.29.2008 at 05:14AM PDT, ID: 21668236

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.

 
[+][-]05.29.2008 at 06:12AM PDT, ID: 21668738

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.

 
[+][-]05.29.2008 at 06:16AM PDT, ID: 21668775

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.

 
 
Loading Advertisement...
20081112-EE-VQP-42 - Hierarchy / EE_QW_2_20070628