Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Queries

Status
Not open for further replies.

bjm027

MIS
Mar 7, 2003
59
US
I am also trying to run a query where I am pulling Company_Name from tblCompany_Information and also Contact_Number from tblContact_Information. Now, one company can have multiple contacts which when the query is ran, say the company has three different contacts associated with it, the company will appear three different times. Any help/suggestions?
 
Hi,
You can use the DISTINCT keyword inside the query. I wrote an FAQ on this topic. My FAQ also covers the keyword DISTINCTROW, which may be useful to you in the future.
faq701-3274 HTH, [pc2]
Randy Smith
California Teachers Association
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top