DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   MySQL (http://www.daniweb.com/forums/forum126.html)
-   -   Get customers_info_date_account_created (http://www.daniweb.com/forums/thread160497.html)

BillyMako Dec 3rd, 2008 2:01 am
Get customers_info_date_account_created
 
I need to get the 'customers_info_date_account_created' from the 'customers_info' table where the field 'customers_info_id' matches with the field 'customers_id' in the following query:

SELECT *
FROM customers
WHERE customers_id NOT
IN(
  SELECT customers_id
  FROM orders
)

I basically have all the information in columns from the query and need an extra field which has the 'customers_info_date_account_created' which is related to the 'customers_id'

BillyMako Dec 3rd, 2008 7:23 pm
Re: Get customers_info_date_account_created
 
1 Attachment(s)
Here is a diagramn explaining what i need to do.


All times are GMT -4. The time now is 6:41 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC