タグ

ブックマーク / zenn.dev/todesking (1)

  • リレーショナルデータを分析するための言語

    let premium_users = select * from users where premium = 1; select count(*) from premium_users; select * from premium_users order by created_at; のようなことがしたいわけですよ。でも無理!ワハハ!! 一貫性のなさ cast(expr as type) という関数のようでそうでもない謎の記法とか(MariaDBリファレンスだと"function"らしいですが)、 '2023-01-01' + interval 1 secondのinterval部分は何なんだとか、文法が複雑すぎる。 人間に厳しい 一貫性を捨てても便利な記法を採用して書きやすくしているのかと思いきや、

    リレーショナルデータを分析するための言語
    nazoking
    nazoking 2023/10/12
    js と typescript みたいなトランスパイルするとSQLになる言語作れそうだがあるのか?
  • 1