Advertisement

03.31.2008 at 06:39AM PDT, ID: 23282409
[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.6

Oracle / SQL query issue

Asked by cscg1976 in Oracle 10.x, PL / SQL

What is the problem of this query and i'm not getting any results even though if i execute the query without the  to_date(o.ORDERDATE,'dd/mm/yyyy') >=  to_date('07/02/2008','dd/mm/yyyy')   and to_date(o.ORDERDATE,'dd/mm/yyyy') <=  to_date('12/03/2008' ,'dd/mm/yyyy')  i'm getting results for those days.

   select sum(qu*sell) AS TOTALAMOUNT,to_date(o.ORDERDATE,'dd/mm/yyyy'),  (CASE WHEN s.cid = 23 THEN 'CATEGORY B'  
   WHEN s.cid = 24 THEN 'CATEGORY A'  WHEN s.cid = 1 THEN 'CATEGORY C'  END ) groupName  from order o,orderitem i,items s
   where o.orderid= i.orderid and i.itemid = s.itemid and s.cid IN (23) and
   to_date(o.ORDERDATE,'dd/mm/yyyy') >=  to_date('07/02/2008','dd/mm/yyyy')
   and to_date(o.ORDERDATE,'dd/mm/yyyy') <=  to_date('12/03/2008' ,'dd/mm/yyyy')  
   GROUP BY S.CID,to_date(o.ORDERDATE,'dd/mm/yyyy')
 ORDER BY to_date(o.ORDERDATE,'dd/mm/yyyy') desc


RegardsStart Free Trial
 
Loading Advertisement...
 
[+][-]03.31.2008 at 06:47AM PDT, ID: 21245284

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.

 
[+][-]03.31.2008 at 06:51AM PDT, ID: 21245322

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.

 
[+][-]03.31.2008 at 07:10AM PDT, ID: 21245485

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.

 
[+][-]03.31.2008 at 07:21AM PDT, ID: 21245579

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.

 
[+][-]03.31.2008 at 07:32AM PDT, ID: 21245681

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.

 
[+][-]03.31.2008 at 08:23AM PDT, ID: 21246207

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.

 
[+][-]03.31.2008 at 08:25AM PDT, ID: 21246233

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.

 
[+][-]03.31.2008 at 08:27AM PDT, ID: 21246244

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.

 
[+][-]03.31.2008 at 08:28AM PDT, ID: 21246265

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.

 
[+][-]03.31.2008 at 08:33AM PDT, ID: 21246301

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: Oracle 10.x, PL / SQL
Sign Up Now!
Solution Provided By: lappins
Participating Experts: 3
Solution Grade: A
 
 
[+][-]03.31.2008 at 08:35AM PDT, ID: 21246322

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...
20080716-EE-VQP-32 / EE_QW_2_20070628