check two tables at same time?
| From: | Noah Spitzer-Williams | Date: | Mon, 24 Jun 2002 23:21:23 +0000 |
| Subject: | check two tables at same time? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20069@lists.php.net to get a copy of this message | ||
hey guys,
im trying to figure out a query that i can return rows from more than
one table at a time. for example, i have two identical tables in structure
and i want to return rows from both using one query. maybe this will help:
select * from table1 and table2 where condition='value'
is there any way to do this?
thanks!
- Noah
----------------------------------
TradeMyTraffic! Web Services
http://www.trademytraffic.com