--
My apologies Joe on the address issue....How about My Fellow Colleagues, which I am using here with the utmost respect for everyone (which I agree is much better than Hey Joe):This query is performed automatically in an Excel Web Query, so it has not changed, but it is not giving the desired results in SDQL or SDQL2.0 the way it used to work. Here is a view of how the results used to look in Excel:
HOT PUPS - DOGS OVER THE LAST 12 DAYS (SORTED BY WINS) # games Record $ On $ Against Over/Under $ Over $ Under Team W-L (marg, % win) O-U-P (marg, % over) 8 5-3 (1.25, 62.5%) 370 -450 5-3-0 (3.31, 62.5%) 150 -225 Padres 10 5-5 (0.90, 50.0%) 248 -328 6-4-0 (1.70, 60.0%) 170 -280 Marlins 11 5-6 (-0.45, 45.5%) 96 -156 6-5-0 (0.77, 54.5%) 75 -155 Cubs The problem Joe indicated is because there are fewer games remaining this season, but I would like something that would work the same way.Matt - Just changing from "n" to "p" the query does not work, even removing the date qualification, the query only runs if I qualify the previous game like using "p:W and team and line>=100" but I'm only interested in finding the results from the previous 12 (or x) number of games. if you know another way around this please give me a hint with the correct syntax.Joe - the "n12:date>=today and team and line>=100" only works in SDQL2.0, but the "nnnnnnnnnnnn:date>=today and team and line>=100" appears to work the same in SDQL and SDQL2.0. Is it easier on the database if I convert all my queries to SDQL2.0 or is it okay to use my old queries as they currently exist as long as they are working? It is much easier to use "n12" for new queries.In any case, "n12" and "nnnnnnnnnnn" give me the same results which are not the results I want to see at this point of the season. What I'm trying to do is get the proper syntax for this query on a daily basis in a format similar to the above example:How many times a MLB team has been a dog in their last 12 games and what were their respective resultsThanks for any help or suggestions...
pppppppppppp:date<=today and team and line>=100 and season=2012
Is this what you mean?
From: "SDB" <zzzs...@gmail.com>
To: sportsd...@googlegroups.com
I just added the season on my own.
How about this: Sum(W@team and D and season,N=12) and team and line>100
if this is wrong then I have no idea what you are looking for i was not a math geek LOL or a computer geek for that matter
--
You received this message because you are subscribed to the Google Groups "SportsDataBase" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sportsdatabase/-/dOhhn5FiW3wJ.