I\'m trying to use the intersection function in DolphinDB as follows:
intersection
n=1000000 ID=rand(100, n) dates=2017.08.07..2017.08.11 date=rand(dates, n)