0

I have a missing operator error for this query. Can't seem to figure out what the missing operator is!

    SELECT Ordre.Ordre, Sum(Ordre.Duree), Ordre.Designation AS SommeDeDuree 
    FROM Ordre 
    WHERE (((Ordre.Date) > #21/10/2011# And (Ordre.Date) < #25/10/2011#) 
      And ((Ordre.CentreCout) = '5240') And ((Ordre.Ordre) <> 11131906 
      And (Ordre.Ordre) <> 12155996 And (Ordre.Ordre) <> 11147473 
      And (Ordre.Ordre) <> 11147548 And (Ordre.Ordre) <> 11131906)  
    GROUP BY Ordre.Ordre;
2
  • 3
    You have one more open parenthesis than you do closing. Commented Nov 22, 2011 at 17:33
  • Done. Just glad to help. Commented Nov 22, 2011 at 17:39

2 Answers 2

1

You have one more open parenthesis than you do closing.

Sign up to request clarification or add additional context in comments.

Comments

1
SELECT Ordre.Ordre, Sum(Ordre.Duree), Ordre.Designation AS SommeDeDuree 
FROM Ordre 
WHERE (Ordre.Date > '21/10/2011') 
AND (Ordre.Date < '25/10/2011') 
And (Ordre.CentreCout = '5240') 
And (Ordre.Ordre <> 11131906) 
And (Ordre.Ordre <> 12155996) 
And (Ordre.Ordre <> 11147473) 
And (Ordre.Ordre <> 11147548)
And (Ordre.Ordre <> 11131906)
GROUP BY Ordre.Ordre;

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.