Merge branch 'master' of git://git.assembla.com/donoban-fpdb
This commit is contained in:
commit
04a49660bf
|
@ -2328,6 +2328,18 @@ class Sql:
|
|||
end
|
||||
)
|
||||
end AS steals
|
||||
,case when sum(cast(hp.success_Steal as <signed>integer)) = 0 then -999
|
||||
else 100.0 *
|
||||
sum(cast(hp.success_Steal as <signed>integer))
|
||||
/
|
||||
sum(case hp.position
|
||||
when 'S' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
when '0' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
when '1' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
else 0
|
||||
end
|
||||
)
|
||||
end AS suc_steal
|
||||
,100.0*sum(cast(hp.street1Seen as <signed>integer))/count(1) AS saw_f
|
||||
,100.0*sum(cast(hp.sawShowdown as <signed>integer))/count(1) AS sawsd
|
||||
,case when sum(cast(hp.street1Seen as <signed>integer)) = 0 then -999
|
||||
|
@ -2458,6 +2470,18 @@ class Sql:
|
|||
end
|
||||
)
|
||||
end AS steals
|
||||
,case when sum(cast(hp.success_Steal as <signed>integer)) = 0 then -999
|
||||
else 100.0 *
|
||||
sum(cast(hp.success_Steal as <signed>integer))
|
||||
/
|
||||
sum(case hp.position
|
||||
when 'S' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
when '0' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
when '1' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
else 0
|
||||
end
|
||||
)
|
||||
end AS suc_steal
|
||||
,100.0*sum(cast(hp.street1Seen as <signed>integer))/count(1) AS saw_f
|
||||
,100.0*sum(cast(hp.sawShowdown as <signed>integer))/count(1) AS sawsd
|
||||
,case when sum(cast(hp.street1Seen as <signed>integer)) = 0 then -999
|
||||
|
@ -2589,6 +2613,18 @@ class Sql:
|
|||
end
|
||||
)
|
||||
end AS steals
|
||||
,case when sum(cast(hp.success_Steal as <signed>integer)) = 0 then -999
|
||||
else 100.0 *
|
||||
sum(cast(hp.success_Steal as <signed>integer))
|
||||
/
|
||||
sum(case hp.position
|
||||
when 'S' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
when '0' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
when '1' then cast(hp.raisedFirstIn as <signed>integer)
|
||||
else 0
|
||||
end
|
||||
)
|
||||
end AS suc_steal
|
||||
,100.0*sum(cast(hp.street1Seen as <signed>integer))/count(1) AS saw_f
|
||||
,100.0*sum(cast(hp.sawShowdown as <signed>integer))/count(1) AS sawsd
|
||||
,case when sum(cast(hp.street1Seen as <signed>integer)) = 0 then -999
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user