[PHP-DB] Re: ORDER BY from 2 tables From: Philip Hallstrom (philip <email protected>)
Date: 07/29/02

See if your database supports the UNION clause...

On Mon, 29 Jul 2002, Georgie Casey wrote:

> i assume this is a simple question...
>
> how can I SELECT * FROM 2 different tables in the same query, ORDER BYing
> the 'hits' column, which both tables have.
>
> eg, 2 tables i have are similiar and i want to merge them and then select
> everything ordering by hits
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php