From: Wm Mussatto Date: July 31 2007 3:56pm Subject: Re: Finding a value in multiple tables List-Archive: http://lists.mysql.com/mysql/208340 Message-Id: <4289.192.168.0.243.1185897369.squirrel@secure2.csz.com> MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit On Tue, July 31, 2007 8:52, David Ruggles said: > I need to find a userid across several different tables. > > What is the best way to do this? > > For example I have three tables > TableA > TableB > TableC > > They all have a field "id" > > I want to find the value 123 in the field "id" in any one of these tables. > > Thanks, > > David Ruggles > CCNA MCSE (NT) CNA A+ > Network Engineer Safe Data, Inc. > (910) 285-7200 david@stripped > Possibly use a union? I think more details would help. ------- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061