DISTINCTCOUNTTHETASKETCH
This section contains reference documentation for the DISTINCTCOUNTTHETASKETCH function.
Was this helpful?
Was this helpful?
select distinctCountThetaSketch(teamID, 'nominalEntries=10') AS value
from baseballStatsselect yearID
from baseballStats
where teamID = 'SFN' AND numberOfGames = 28 AND homeRuns = 1select yearID
from baseballStats
where teamID = 'CHN' AND numberOfGames = 28 AND homeRuns = 1select distinctCountThetaSketch(
yearID,
'nominalEntries=4096',
'teamID = ''SFN'' AND numberOfGames=28 AND homeRuns=1',
'teamID = ''CHN'' AND numberOfGames=28 AND homeRuns=1',
'SET_INTERSECT($1, $2)'
) AS value
from baseballStats