SDQL Parameters & Syntax Glossary

Introduction to SDQL


Sports Data Query Language (SDQL) is the syntax used to search and analyze data within our sports databases. It allows you to build flexible queries to isolate specific situations, trends, and outcomes across games, teams, players, and seasons.

There are virtually unlimited combinations of queries you can create. This guide focuses on foundational concepts and the most commonly used parameters to help you get started quickly and confidently.



Table of Contents



Basic Query Structure

An SDQL query is made up of one or more parameters connected using logical operators such as and or or. For most simple queries, the order of parameters does not matter.

Each parameter represents a statistic, attribute, or game condition. Most parameters are paired with a value that defines exactly what you want to filter for.



Common Mathematical Operators

  • =  equal to
  • > greater than
  • = greater than or equal to
  • <  less than
  • <= less than or equal to
  • != not equal to
  • + addition
  • – subtraction
  • * multiplication
  • /  division

Example:

To find games where a team scored more than 150 points, use points>150.

Negative values are also important. For example, margin<=-10 refers to a team that lost by 10 or more points.



Team vs. Opponent Context

Queries can be run for a specific team or across all teams in a league.

For example:

  • team=‘Rockets’ and points=115 returns games where the Rockets scored exactly 115 points
  • points=115 by itself returns all games where any team scored exactly 115 points

Every SDQL query is evaluated from the perspective of a team and its opponent:

  • The team is the subject of the query
  • The opponent is the team they played in that game

To reference opponent statistics, use the o: prefix.

Examples:

  • team=‘Rockets’ and points=115 → Rockets scored 115
  • team=‘Rockets’ and o:points=115 → Rockets allowed 115

You can also directly compare statistics:

  • rushing yards – o:rushing yards <= -100 identifies games where the team was outrushed by at least 100 yards


Combining Multiple Conditions

You can stack multiple parameters together to build very specific queries.

Example:

points>=30 and passing yards>=300 and o:points<7 and o:turnovers>=2

This returns games where a team:

  • Scored at least 30 points
  • Passed for at least 300 yards
  • Allowed fewer than 7 points
  • Forced at least 2 turnovers

This flexibility is one of the most powerful features of SDQL.



Using Historical and Future Game Data

SDQL allows you to query beyond the current game by referencing past or future games.

Common Time-Based Prefixes

  • p:   team’s previous game
  • op:  opponent’s previous game
  • P:   previous matchup between the teams
  • n:   team’s next game
  • on:  opponent’s next game
  • N:   next matchup between the teams

Examples:

  • p:W → team won its previous game
  • p:HFL → team lost its previous game as a home favorite
  • p:rest=0 → team played on zero days of rest in its last game

Next-game examples:

  • n:rest>=3 → next game will be on 3 or more days of rest
  • n:A → next game is on the road

Matchup examples:

  • P:W → team won the last matchup
  • PP:W → team won the previous two matchups

Each additional prefix looks one game further back or forward.



Shortcuts

Shortcuts are abbreviated parameters that represent common conditions. Like prefixes, shortcuts can be combined without limit.

  • H = Home
  • A = Away
  • W = Win
  • L = Loss
  • F = Favorite
  • D = Underdog
  • O = Over
  • U = Under
  • C = Conference

Additional combinations:

  • HF = Home favorite
  • AF = Away favorite
  • HD = Home underdog
  • AD = Away underdog


Core Game Parameters

team

  • Description: Team name
  • Syntax: team=‘Rockets’

site

  • Description: Game location
  • Syntax:
    • Home: site=‘home’ or site=‘H’
    • Away: site=‘away’ or site=‘A’

game number

  • Description: Regular-season game number
  • Syntax: game number<=10

playoffs

  • Description: Playoff vs. regular season indicator
  • Syntax:
    • Playoffs: playoffs=1
    • Regular season: playoffs=0

season

  • Description: Season year
  • Syntax:
    • Single season: season=2018
    • Range: season>=2023

month

  • Description: Month of the season (numeric)
  • Syntax: month=2

date

  • Description: Game date (YYYYMMDD)
  • Syntax: date>=20260101 and date<=20260120

time

  • Description: Game start time (24-hour ET)
  • Syntax: time>=1900


Betting Market Parameters

line

  • Description: Point spread
  • Examples:
    • Favorites of 3+ points: line<=-3
    • Underdogs of 10+ points: line>=10

total

  • Description: Game total (O/U)
  • Syntax: total>=240



Team & Matchup Context

division

  • Description: Team division
  • Examples:
    • Opponent in Central Division: o:division=‘Central’
    • Divisional matchup: division=o:division

rest

  • Description: Days of rest before the game
  • Examples:
    • Back-to-back: rest=0
    • Well-rested teams: rest>=3

overtime

  • Description: Game went to overtime
  • Syntax: overtime=1


Playoff-Specific Parameters

series game

  • Description: Game number within a playoff series
  • Syntax: series game=1

round

  • Description: Playoff round
  • Syntax: round=2

seed

  • Description: Playoff seed
  • Syntax: seed=4


Streak Parameters

streak

  • Description: Win/loss streak
  • Examples:
    • Winning streak: streak=2
    • Losing streak: streak<=-4

ats streak

  • Description: Against-the-spread streak
  • Examples:
    • Covers streak: ats streak=3
    • Non-covers streak: ats streak<=-5

site streak

  • Description: Consecutive home or road games
  • Examples:
    • Home: site streak=3
    • Road: site streak=-5

ou streak

  • Description: Over/Under streak
  • Examples:
    • Overs: ou streak=4
    • Unders: ou streak<=-2

Wednesday NBA Picks & Predictions Today | Best Bets & Expert Analysis | Ahead of the Spread – Feb 26

Looking for the best NBA picks, predictions, and betting tips for Wednesday, February 26, 2025? Tune in to Ahead of the Spread with expert handicappers Hakeem “Skee” Profit and Ronald “Youcapper” Cabang as they break down today’s NBA matchups with sharp insights and actionable advice.

🔥 Today’s NBA Matchups Wednesday, February 26, 2025:

0:00 Introduction
2:57 Raptors vs Pacers
7:50 Trail Blazers vs Wizards
10:43 Celtics vs Pistons
19:18 76ers vs Knicks
23:37 Hawks vs Heat
28:01 Thunder vs Nets
34:28 Clippers vs Bulls
41:13 Kings vs Jazz
45:38 Spurs vs Rockets
51:10 Recap

💡 What You’ll Get in This Episode:
🔥 Updated Lines & Odds: 📊 Key movements and what they mean for today’s bets.
📌 Deep Dive Analysis: 🔍 Priority games broken down with stats, trends, and expert takes.
🚨 Top Leans & Watch-List Picks: 🏀 Stay sharp with today’s must-watch plays.
📅 Yesterday’s Recap: ✅ Wins, losses, and lessons learned to refine your strategy.

👀 Why Watch Ahead of the Spread?
Whether you’re a casual fan or a sharp bettor, we provide the edge you need to dominate the NBA betting landscape. From advanced stats 📈 to situational analysis 🎯, this show has it all!

✅ Don’t Forget:
👍 Hit that like button if you love NBA betting content!
🔔 Subscribe and turn on notifications so you never miss out on tomorrow’s picks!
💬 Drop your best bets in the comments below—we want to hear from you!

🎲 OddsLogic link for live odds and injuries: https://fas.st/t/f1xLzdCo
ℹ️ Stats, trends and information at https://www.themoneyballer.com

Transitioning from NBA to WNBA Betting: Strategies for Success

As the NBA season draws to a close and the WNBA season gears up, it’s a pivotal time for sports bettors to shift their focus and adapt their strategies. Transitioning from betting on the NBA to the WNBA isn’t just about following a different basketball league; it involves understanding distinct dynamics, tapping into new strategies, and recognizing key differences that can influence betting success. Here’s how you can smoothly transition your betting approach and optimize your strategies for the upcoming WNBA season, ensuring you’re well-prepared to make informed and profitable bets.

Understanding the Transition: Key Differences to Note

Market Depth and Information: NBA betting is characterized by its depth of data, analysis, and public engagement. Transitioning to the WNBA means adjusting to a market with less public betting influence and potentially less information at your fingertips. This shift requires bettors to be more proactive in seeking out insights and data.

Game Dynamics: NBA games are known for their fast pace and high scoring, while the WNBA emphasizes fundamentals, teamwork, and often features a different pacing. Recognize these gameplay differences to make more accurate predictions and understand game flows in the WNBA.

Value Spotting: The lower betting volume in WNBA can lead to less efficient betting markets. This scenario presents an opportunity for astute bettors to identify and capitalize on mispriced lines, offering a strategic advantage.

Transitioning Strategies: From NBA to WNBA

Deep Dive into Teams and Players: Start by getting familiar with WNBA teams, players, and coaching styles. Given the league’s smaller size, individual players can have a more significant impact on the game’s outcome. Analyze player performances, team dynamics, and how offseason changes might affect the teams.

Adapt to a Different Pace: Adjust your betting strategies to account for the WNBA’s unique style of play. This might mean recalibrating your approach to over/under bets or understanding how different the game pace can affect scoring and outcomes.

Focus on Line Value: With potentially less efficient markets, there’s an increased chance to find value in WNBA betting lines. Sharpen your skills in identifying value bets by comparing your analysis with the available lines, looking for discrepancies that favor your informed viewpoint.

Engage with the Community: While the WNBA has a growing fan base, the betting community is relatively smaller. Engage with this community to exchange insights, tips, and strategies. Being part of a smaller community allows for more meaningful exchanges and can provide unique perspectives that enhance your betting decisions.

Monitor Market Movements: Pay close attention to how lines move in the WNBA compared to the NBA. Understanding these market dynamics can offer clues about public perception and where the value may lie.

Embrace Prop and Future Bets: With potentially less attention from bookmakers, WNBA prop and future bets might offer lucrative opportunities. Dive into these markets to find bets that leverage your insights into player performances and team trajectories.

Final Thoughts:

As you transition from the NBA to the WNBA betting landscape, embrace the differences and use them to your advantage. By adapting your strategies, staying informed, and actively engaging with the betting community, you can navigate the WNBA season with confidence. Remember, the key to successful betting lies in continuous learning, adapting, and applying your insights to identify value and make informed decisions. So gear up, refine your strategies, and get ready to tap into the exciting opportunities that the WNBA has to offer.