Re: Finding a value in multiple tables
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@safedatausa.com >
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
--
MySQL General Mailing List
For list archives:
http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=lists@pantek.com
Received on Tue Jul 31 11:57:21 2007
This archive was generated by hypermail 2.1.8
: Thu Aug 09 2007 - 19:29:42 EDT
|