Wrox Programmer Forums
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 18th, 2006, 12:40 PM
Registered User
 
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default To Many Names

 My table has data that looks like this:

tax_id
------------
123456789
123456789
123456789
123456789

last_nm
-------------
ASSOC
ASSOC
ASSOCIATES
CARE ASSOCIATES

first_nm
--------------
TENNESSEE URGENT CARE
TENN URGENT CARE
TENNESSEE URGENT CARE
TENNESSEE URGENT

vend_id
---------
41300
42777
43477
52036


I need to pull the first and last name from the table but only need one name.
As you can see the tax_id is unique.






Similar Threads
Thread Thread Starter Forum Replies Last Post
enum 2 names OneQuestion General .NET 4 January 2nd, 2008 02:50 PM
Column names! Help! dirtdog22 Access VBA 6 June 1st, 2007 06:37 AM
query for names cesarfranciso Pro VB Databases 31 April 15th, 2007 12:16 PM
Report: First and Last Names scandalous Access 4 February 12th, 2007 02:38 PM
Constraint for names barkingstars Oracle 2 April 14th, 2004 01:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.