Just google "SDQL" there are plenty of sites that offer connections to the sports data query language, all you have to do is learn the variables to use. For me I looked at rolltide's syntax and kind of back engineered it. It helps if you have prior experience writing code in logical languages. As you can see at the tp of each one of my posts i include the query that i have used, for the most recent one it its this:
HF and p:O and pp:O and NCONF = NCONF and op:day = Thursday and season >= 2002 (home favorite and previous game over and previous previous game over and non-conference and opponents previous game played on thursday and season >= 2002) Let me know if you have any other questions.