SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CAST(SUM(CASE WHEN (type = 'X' AND (event = 'Single' OR event = 'Double' OR event = 'Triple' OR event = 'Home Run')) OR ((event = 'Walk' OR event = 'Intent Walk' OR event = 'Hit By Pitch') AND (pitch_num = 1)) THEN 1 ELSE 0 END) AS float)
  2. / CAST((COUNT(DISTINCT ab_id) - SUM(CASE WHEN event = 'Catcher Interference' OR event = 'Batter Interference' OR event = 'Runner Out' THEN 1 ELSE 0 END)) AS float)
RAW Paste Data
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
 
Top