[geeks] MySQL complex query.

Sridhar Ayengar ploopster at gmail.com
Thu Aug 4 06:07:20 CDT 2011


Mark Benson wrote:
> Where I'm stuck is I don't know where to specify the select criteria (common
> to both tables) or how to get them to sort by date with 2 different fields. Is
> there maybe a way of copying the different date fields to a new column that is
> common to all records, like 'absolute_date' or somesuch using SELECT AS?

Instead of doing that, why not just use the same column alias for both?

Peace...  Sridhar


More information about the geeks mailing list