SQL is a very rich and expressive language to query relational
databases. But it is awkward in many aspects, and a lot of people
perceive it to be evolving only slowly - even if that is not true,
considering the pace of SQL standards. But the standard is one thing,
the implementations another - especially in the enterprise. When we blog
about SQL, we’re constantly surprised ourselves, how awesome the PostgreSQL dialect is. But often, PostgreSQL actually just implements the standard. So there is hope that we’re getting somewhere.
Nonetheless, in Leland’s article, there are a couple of ideas worth picking up. From our point of view, these are mainly:
Flexibility in ordering the SELECT
clause and the table expression
Remember, the table expression contains FROM
, WHERE
, GROUP BY
clauses, as well as vendor-specific CONNECT BY
clauses and others:
1 | <query specification> ::= |
2 | SELECT [ < set quantifier> ] |
3 | < select list> < table expression> |
This language feature is already available in
LINQ, by the way.
Implicit KEY JOINs
Named projections
This
is one of the features we really wish that the SQL language had.
However, we wouldn’t count on specifying projections in a dedicated
syntax. We had rather use an extension to the table expression syntax,
allowing for a table to produce “side-tables” as such:
3 | firstName, lastName, phoneNumber, email |
In the above example, projection
is really nothing else than another table expression that is derived from the users
table. From a SQL syntax semantics, this would be extremely powerful,
because such projections would inherit all syntactic features of a
regular table. We’ve blogged about this before, when we called that feature “common column expressions”.
Conclusion
Leland has lots of other ideas. He’s just at the beginning of a project that will still need a lot of refinement. The feedback he got on reddit, however, is rather good. Clearly, there is a lot of potential in creating “BQL” for SQL what
- less is for CSS
- Groovy is for Java
- Xtend is for Java
- jQuery is for JavaScript
kırşehir
ReplyDeletekarabük
adıyaman
niğde
ordu
X7HBİ4
bingöl
ReplyDeleteelazığ
hakkari
sakarya
erzincan
OKDM6
yalova
ReplyDeleteyozgat
elazığ
van
sakarya
UY56
ankara parça eşya taşıma
ReplyDeletetakipçi satın al
antalya rent a car
antalya rent a car
ankara parça eşya taşıma
JAOND
Bolu Lojistik
ReplyDeleteMardin Lojistik
Kocaeli Lojistik
Diyarbakır Lojistik
İstanbul Lojistik
LWTG
98AD8
ReplyDeleteÇankaya Parke Ustası
Sivas Şehir İçi Nakliyat
Kars Parça Eşya Taşıma
Trabzon Evden Eve Nakliyat
Şırnak Parça Eşya Taşıma
Bingöl Evden Eve Nakliyat
Eskişehir Evden Eve Nakliyat
Ünye Mutfak Dolabı
Bilecik Şehir İçi Nakliyat
4C05C
ReplyDelete%20 binance komisyon indirimi
C5741
ReplyDeleteKaspa Coin Hangi Borsada
Btcturk Borsası Güvenilir mi
Kripto Para Nasıl Kazılır
Tiktok Takipçi Satın Al
Arg Coin Hangi Borsada
Coin Nedir
Kripto Para Madenciliği Nedir
Bitcoin Nasıl Kazılır
Binance Komisyon Ne Kadar
DXFHBG
ReplyDeleteشركة كشف تسربات المياه
dfgdhbfgytgrhyfghfh
ReplyDeleteشركة صيانة افران بالمدينة المنورة
شركة عزل اسطح بالمجمعة gZar971tCm
ReplyDeleteشركة صيانة افران بالاحساء 4aU3tm2rg1
ReplyDeleteشركة تسليك مجاري بالاحساء 6g24CL4Lja
ReplyDeleteشركة مكافحة حشرات بالخبر 6K2qMyUFou
ReplyDelete