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


What is the result of performing a statement in PDO if there are two selected questions in it? Consider this table:

  ab ------ a 1b2c3d4e5f6   

and this PDO query :

  $ sql = $ pdo- & gt; Ready ("A table from selection where B & gt; 3; selects a table where B <3;"); $ Sql- & gt; Executed ();   

What would happen $ sql- & gt; ReceiveL () return?

UNION ALL

Combine questions using:

  Select from the table where B & gt; 3; Choose a table from Unius all where B & lt; 3;   

The first selection returns a record D for the statement A, E, F. The second statement gives b for A. The result is found in a single return

D, E, F, A, B

I now have my points;) (just jokingly)

Comments