Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Problem comparing two fields in HAVING clause
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Michi  
View profile   Translate to Translated (View Original)
 More options 3 July, 10:35
From: Michi <mhauptm...@gmail.com>
Date: Fri, 3 Jul 2009 02:35:34 -0700 (PDT)
Local: Fri 3 July 2009 10:35
Subject: Problem comparing two fields in HAVING clause
Hi everybody,

I'm trying to execute a query with a subquery and a HAVING clause. In
the HAVING clause I need to compare the result of the subquery to a
field in the SELECT clause like "paid < total_amount".

The problem is that Doctrine doesn't recognize the second field name
as such and I always get a SQLSTATE error complaining that the column
could not be found.

Is that a bug in Doctrine or am I doing something wrong?

Thanks for your help,
Miguel


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google