-
-
Save fernandopetry/f6efef3e815273a4cf3a8b1152cbd4ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT name, email, status FROM pessoa WHERE EXISTS (SELECT nome, email FROM usuario) | |
$regex = '\(SELECT)\s.*?(FROM)\'; | |
$replace = ' $1 count(1) as total $2'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment