Ask a Question related to ASP Database, Design and Development.
-
Luis #1
Query empty records
I have a simple query to retrieve total order amount by customers, ie,
selet customers.customer_id, customers.customer_name,
sum(orders.order_amount) as total_orders from customers inner join, etc,
etc...
which work fine but only retrieves those customers for which there are
orders....
any way to retrieve the ones without orders as well, with a zero value on
the total_order field?
thanks, Luis
Luis Guest
-
#38759 [NEW]: PDO sqlite2 empty query causes segfault
From: jcd+php at psu dot edu Operating system: Solaris 9 / Ubuntu Linux 6.06 PHP version: 5.1.6 PHP Bug Type: SQLite related... -
CFMX7 empty string in Database Query
Hi All, I am currently evaluating Coldfusion 7 for the company I work for to see if we can seamlessly upgrade from 6.1 to 7 without any code... -
Dealing with empty fields from database query
Using the procedure in the Dreamweaver manual for building search/result pages I'm trying to retrieve data from MYSQL database and put it into a... -
variable empty after after posting a delete query
The variable contains: delete from divisies where divisieid='1c' After posting it contains: delete from divisies where divisieid= So the part... -
NewBie: query comes back empty, and gives an error
Hello I am working on web asp page. Sometimes the query is empty, but I get an error Help code query2 = "select distinct date1 from... -
Jeff Cochran #2
Re: Query empty records
On Thu, 18 Dec 2003 12:16:53 +0100, "Luis"
<sanchezaparicioREMOVE_THIS@hotmail.com> wrote:
Have you tried an outer join?>I have a simple query to retrieve total order amount by customers, ie,
>
>selet customers.customer_id, customers.customer_name,
>sum(orders.order_amount) as total_orders from customers inner join, etc,
>etc...
>
>which work fine but only retrieves those customers for which there are
>orders....
>
>any way to retrieve the ones without orders as well, with a zero value on
>the total_order field?
Jeff
Jeff Cochran Guest



Reply With Quote

