Do you mean a single query that includes a union? Does the SQL run at the SQL command prompt?
in mysql you can write something like
select * from tableA
UNION
select * from tableB
and this will return the results of both, but I get 406 error when using the plug in.
thanks
http://dev.mysql.com/doc/refman/5.0/en/union.html
Thanks for clarification. I have just tried
select * from wp_posts where id < 90 union select * from wp_posts where id > 92
…which works fine. Your apache error 406 looks very specific; I would look on the apache log file. Does your SQL statement run at the SQL command prompt (outside wordpress) ? Can you give an SQL statement that fails that I can try? thanks
Hi John, thank you for your reply and sorry for the delay in responding.
Is there a way I can contact you directly to show you the query as it would contain sensitive information.
thank you
My email address is in the header of DBView.class.php. It’s obfuscated to prevent spamming.