Next, Sql Mode using HDW Data:
In Sql Mode there is a min and max numeric integer value associated with each run style.
If you run a Data Window query with the results broken out by Run Style - you will see the min integer value associated with each run style displayed to the left of the breakout line for that run style.
In Sql Mode, for HDW data, use these integer codes in your sql expressions to "grab" desired run styles.
The Data Window query that would flag the same EP and P horses found in the above playlist file mode post is as follows:
query start: 4/19/2011 11:16:52 AM query end: 4/19/2011 11:17:03 AM elapsed time: 11 seconds ` Data Window Settings: Connected to: C:\JCapper\exe\JCapper2.mdb 999 Divisor Odds Cap: None ` SQL: SELECT * FROM STARTERHISTORY WHERE [YEAR]=2011 AND [MONTH]=4 AND RUNSTYLE >= 15 AND RUNSTYLE < 60 ` ` Data Summary Win Place Show Mutuel Totals 8256.60 8366.90 8124.90 Bet -10686.00 -10686.00 -10686.00 Gain -2429.40 -2319.10 -2561.10 ` Wins 717 1411 2049 Plays 5343 5343 5343 PCT .1342 .2641 .3835 ` ROI 0.7727 0.7830 0.7603 Avg Mut 11.52 5.93 3.97 ` ` By: Running Style ` Running Style HDW Gain Bet Roi Wins Plays Pct Impact 0 0.00 0.00 0.0000 0 0 .0000 0.0000 E 15 -914.40 2284.00 0.5996 139 1142 .1217 0.9070 EP 30 -704.80 2456.00 0.7130 157 1228 .1279 0.9527 P 45 -810.20 5946.00 0.8637 421 2973 .1416 1.0552 PS 60 0.00 0.00 0.0000 0 0 .0000 0.0000 S 75 0.00 0.00 0.0000 0 0 .0000 0.0000 SS 90 0.00 0.00 0.0000 0 0 .0000 0.0000 U
Note: 15 is the min value for EP run style. 60 is the min val for S run style.
Note: In the above Data Window query, I added month and year constaints to capture the same set of starters found in the playlist file query example. My starterhistory table spans multiple folders and contains data for the past year or so. In the playlist file example I simply pointed the Data Window at the current target folder.
-jp
.
|