二周目に入りたいところをガマンしたのでいったん記録します。この本のおかげで、SQLがぐっと身近になりました。前回書いた「SQLパズル」もこの本が影響して購入したし、SQLを好きになったし、ハラオチしました。定期的に読み直したい良著です。
【書籍情報】「達人に学ぶSQL徹底指南書 第2版 初級者で終わりたくないあなたへ」 (CodeZine BOOKS)著者:ミック/発行:翔泳社/発売日:2018/10/11
サブタイトルに撃ち抜かれ「初心者脱したい!」と意気込んで購入。数多くあるSQL本のなかでこれを選んだ見出しの力…。内容も私の性格に合っていました。著者の語り口が軽妙で、知識と実力があるからこそ語れるユーモアが本の分厚さを感じさせませんでした。
本の特徴
- ロングセラー、初版から10年経て内容が大幅リニューアル。ウィンドウ関数に手厚い
- コンセプトは「中級SQLプログラミング入門」。各社の方言違いも記載
- コードだけじゃない「SQLって何なの」歴史に触れる
- 筆者のSQLへの思い入れと深い造詣が伝わる語り口、でも押しつけがましくない(好き)
感想
- 理論から説明していて暗記じゃない
- unknown三値理論を丁寧に教えてくれる
- 参考書と並行するとより理解が深まる(だろう)
- 個人的に、語り口や描写、話の流れが好き
1.英語のイディオムとか文法では「これがルールか」と無理くり納得させることも多いんですが、この本は「何でこのSQLなの?」も解説されるので、ちゃんと理解できました。記憶力は脳のキャパ次第、私は納得しないとすぐ忘れるタイプなので、ありがたかった。また説明がわかりやすくて良き。全称量化とか述語論理とか、普通の教科書だったら挫折してました。
2.この本で一番感銘を受けた部分です。CやJavaなど手続き型言語と仲良くできなかった自分は、「集合で考える」「NULLが存在する」SQLが向いているみたい。というか、何でSQLが好きなのか分かりました。SQLさん、ホームルームで自己紹介聞くと良いヤツっぽいのに(DBからデータ取り出せる便利な言語)、知るとツンデレなところ(NULLの存在や階層論)も推せる…。
3.筆者がほんと詳しくて。解説部分に「このモデルは〇年の時点で構想、その後路線変更」とか書いてあると、歴史見てきたんですか…くらいの信頼で読み進めました。ちゃんと折に触れて参考文献も載せてあるし。大概英語です。さらっと抄訳してあってカッコいい。名著「SQLパズル」で出てきたTipsをまとめてあるのも、両方読んだからわかりました。
4.たぶん、筆者の性格なんですけど、個人を尊重しているんですよね。業界の重鎮はじめ、おそらく読者に対しても同じように、その実力をひけらかすことなく、先生感を出すこともなく、同じ目線で書いてある。自分の考えはちゃんと持ってあって「こう思ってるんです」と一貫している。この雰囲気が単純に好き。
Google実践演習では出てこなかった「EXISTS」は使えるようになりたい。二重否定の考え方に慣れるべし。二重否定って中二病と似てて嫌いじゃない。SQLは結果の整形を目的に作られてはいないから、そこはBIツールで埋められる。
学ぶほど「もうちょっと深く…」といつも思うけど、自分のキャパがそこまで広くないことも自覚してる。最終目的は、北極星は、初心を思い出せるように、まず基礎ベースを固めているところです。PythonじゃなくRを使いたいから、各プラットフォームで表現したいから、そろそろSQLは終盤にせねば…と思いながら、まだ別講座が残っている2023秋なのでした。
********
I wanted to read it twice, but I'll hold off and record it. This book more introduced me to SQL. This book also influenced my purchase of "SQL Puzzle", which I wrote about last time. I fell in love with SQL and it made sense to me. This is a good book that I plan to read regularly.
[Book information] "Learn SQL from the Experts, 2nd Edition: For those who don't want to end up a beginner" (CodeZine BOOKS) Author: Mick / Publisher: Shoeisha / Publication Date: 2018/10/11
I bought it because of the subtitle. ``I don't want to end up as a beginner!'' The content also suited my personality. The author's speaking style was approachable, and the humour that could come from his knowledge and skill made me feel overwhelmed.
Features of the book
- Long seller. Updated content 10 years after the first edition. Careful with window functions
- The concept is "Introduction to Intermediate SQL Programming". Also describes the dialect differences between each company.
- Not just code, but the history of "What is SQL?
- The author's speaking style conveys his passion and deep knowledge of SQL (I like it).
Thoughts
- It's explained from theory, not memorisation.
- Carefully teaches the unknown three-value theory
- Your understanding will deepen if you use it in parallel with a reference book (I think)
- Personally, I like the way the story is told, the descriptions and the flow of the story.
1. When it comes to English idioms and grammar, I often force myself to accept that ``these are the rules'', but this book also explains ``why is this SQL?'', so I was able to understand it properly. Memory depends on the capacity of the brain, and I'm the type of person who forgets things easily if I'm not convinced, so I was grateful. The explanation was also easy to understand. I would have given up at ``universal quantification'' and ``predicate logic'' if I had read them in an ordinary textbook.
2. This is the part of the book that impressed me the most. I've never been able to cope with procedural languages like C or Java, so I think I'm better suited to SQL, which thinks in sets and has NULLs. In fact, I now understand why I like SQL. Mr SQL, when I first met him and asked him to introduce himself, seemed like a nice person (a useful language for extracting data from a database), but he also had some deep knowledge (the existence of NULLs and hierarchy theory). I like places like that too.
3. You can also see that the author is an intellectual. In the explanation section it says: ``This model was conceived in the year X, and the route was changed after that. I wonder if you have seen history... I read on with such confidence. There are also references from time to time. It's mostly in English. It's a cool short translation. I understood that the tips from the famous book ``SQL Puzzle'' are summarised, because I have read both books.
4. Maybe, I think, the author respects the individual. He writes from the same perspective, including industry heavyweights and perhaps the reader, without showing off his skills or giving the impression that he is a teacher. He has his own thoughts and is consistent in saying ``this is what I think''. I just like that atmosphere.
I would like to be able to use "EXISTS", which did not appear in the Google exercises. I need to get used to the idea of double negatives. SQL was not designed to format results, so BI tools can fill that gap.
The more I learn, the more I think, ``I want to go a bit deeper...'' but I also realise that my capacity is not that wide. What is my ultimate goal? First of all, I am consolidating the basics so that I can remember my original intention. I want to use R instead of Python, and I wanted to express things on any platform, so I thought it was time to finish SQL, but I still had another courses...
0コメント