Difficulty with sql query

Posted by João Madureira Pires on Stack Overflow See other posts from Stack Overflow or by João Madureira Pires
Published on 2010-04-30T17:34:41Z Indexed on 2010/04/30 17:57 UTC
Read the original article Hit count: 243

Filed under:
|

I have the following tables:

TableA (id, tableB_id, tableC_id)
TableB (id, expirationDate)
TableC (id, expirationDate)

I want to retrieve all the results from TableA ordered by tableB.expirationDate and tableC.expirationDate. How can I do this?

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql