Hi Quick question Using php / mysql. I am looking for a mysql statment that will pull information from 2 tables. The tables are unrelated one is news, one is other artilces. They both have a DATE column and I would like to order the articles / news in date order. I cannot JOIN the tables as there is no common ground. I just need to get article 100 article 99 news 18 article 98 news 17 news 16 style output. (I have the PHP in order already to manage the mixed tables) Any help - this should be really simple.
i dont know if union query is can do the needful, but you can try it. SELECT ARTICLE FROM TABLE1 UNION ALL SELECT NEWS FROM TABLE2