Google Answers Logo
View Question
 
Q: database concepts ( No Answer,   0 Comments )
Question  
Subject: database concepts
Category: Computers > Software
Asked by: fahd-ga
List Price: $6.00
Posted: 26 Sep 2002 20:23 PDT
Expires: 26 Sep 2002 20:32 PDT
Question ID: 69564
Complete the following problem using basic SQL commands.  Basic SQL
means not specifically tied to TSQL, SQL PL or DB 2 Versions.
if I am given a table with the addresses of consumers to whom we wish
to send junk mail.  The table has a fam(family) column that links
Consumers with the same street address.  We need this because our
rules are that we mail only one offer to a household.  The field
contains the PK value of the Consumers record of the first person who
had this address, thus:
Consumers
Name		address			id		fam
 Bob		A			1		Null
 Joe		B			3		Null
 Mark		C			5		Null
Mary		A			2		1
Vickie		B			4		3
Wayne		D			6		null

We need to delete those rows where fam is null but there are other
family members on the mailing list.  How would you do it in SQL?

Clarification of Question by fahd-ga on 26 Sep 2002 20:31 PDT
please remove this question 
this question is a repeat of the same posted question.
Thank you for understanding.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy