Sean Lange (3/28/2013)
This is MySql. If you want to join multiple queries together you probably need to use UNION.I really can't tell from what you have posted what the actual issue is here. I can try to help but without ddl (create table statements) and sample data (insert statements) it is pretty hard to figure out what is going on.
🙁