11 ms·
why I did not see select from the samples?
by gangtao 1y ago
why I did not see select from the samples?
- maxbond 1y agoIt's called PROJECT INTO in this language.
- brigandish 1y ago> One of the earliest syntax choices we made was to avoid the classic SELECT … FROM … style. In SQL, a query starts with SELECT, but conceptually you first define your data source and only later decide what you want to project out of it. We always found that ordering unintuitive. So in EventQL a query begins with FROM e IN events. Only at the end do you specify what you want to output, using PROJECT INTO.
- gangtao 1y agoOK, but it is very different from what tranditional SQL does why you want to user learn something different than what he/she already is familar with?
- brigandish 1y agoBecause it might be better? Why does SQL rule so completely in the database world with so many obvious flaws yet I can choose from so many languages in other domains? Competition is good.