What is the result of executing a PDO statement containing two SELECT queries?

Combine queries using UNION ALL Like so: SELECT A FROM Table WHERE B > 3; UNION ALL SELECT A FROM Table WHERE B.

Have some points :-P (btw, this returns all rows in A). – Rocket Mar 16 at 14:36 @Rocket except where B == 3 – Daniel Vandersluis Mar 16 at 14:36 @Daniel: I need more caffeine... – Rocket Mar 16 at 14:37 @All edited to return A rather then B :) - my bad...and boy do I need caffeine. – JonH Mar 16 at 14:38.

You are executing a statement with 2 SELECT queries, $sql->fetch() will return the results from the 1st statement only.

You can have some points too, it doesn't cost me any $$$. :) – JonH Mar 16 at 14:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions