Created
August 25, 2023 09:17
-
-
Save trycf/946ffba52518d6602ad1e8b25618746a to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains 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
<cfscript> | |
q1=queryNew('a,c') | |
q2=queryNew('b') | |
u=queryExecute("select * from q1 union select q2.* from q2, q1 where q1.a=q2.b",{},{dbtype:'query'}) | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment