Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
fernandezekiel
Dec 2nd, 2014
526
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
$q
=
new
Query
(
)
;
$q
->
select
=
[
'SUM(columnThatIWantToSumUp)'
]
;
$q
->
from
=
[
"("
.
$query
->
createCommand
(
)
->
getRawSql
(
)
.
") as sumOfTheColumn"
]
;
$total
=
$q
->
queryScalar
(
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Got $12,000 from this module bug
CSS | 9 min ago | 1.00 KB
This month smells like money
CSS | 9 min ago | 1.00 KB
Instant Profits Method
CSS | 9 min ago | 1.00 KB
Free Money Method
CSS | 9 min ago | 1.00 KB
+12,000$ in 2 days
CSS | 9 min ago | 1.00 KB
✅ Changelly Free Money Method
CSS | 9 min ago | 1.00 KB
Got $12,000 from this module bug
CSS | 41 min ago | 0.99 KB
This month smells like money
CSS | 41 min ago | 0.99 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!