深入浅出SQL

贝里

出版时间

2008-03-01

ISBN

9787564111380

评分

★★★★★
书籍介绍

《深入浅出SQL(影印版)》能让你学到什么?在如今的世界,数据就是力量,但是成功的真正秘诀却是管理你的数据的力量。《深入浅出SQL(影印版)》带你进入SQL语言的心脏地带,从使用INSERT和SELECT这些基本的查询语法到使用子查询(subquery)、连接(join)和事务(transaction)这样的核心技术来操作数据库。到读完《深入浅出SQL(影印版)》之时,你将不仅能够理解高效数据库设计和创建,还能像一个专家那样查询、归一(normalizing)和联接数据。你将成为数据的真正主人。

为什么《深入浅出SQL(影印版)》看起来如此不同?

我们认为你的时间如此宝贵以至于不应该花费在为新概念伤脑筋上面。《深入浅出SQL(影印版)》用最新的认知科学和学习理论打造多感官的学习体验,它运用丰富的视觉形式激发你的大脑工作,而不是密密麻麻的文字让你看了昏昏欲睡。

编者:(美国)贝里(Lynn)

Lynn,一位困在技术撰稿人身体里的小说家。当她发现技术书籍可以带来实际收入后,终于慢慢地学着接受并享受这方面的工作。

重返校园取得计算机科学硕士学位后,她为NRL和LNAL工作。然后她发现了Flash的存在,并写出她的第一本畅销书。

Lynn选择移居硅谷的时机实在不太好,没过多久网络泡沫就发生了。接下来的几年,她在Yahoo!工作,同时也写了几本书并培训课程。最后她决定转到创意写作行业,因而搬到纽约,取得创意写作的MFA学位。

对着满屋子的教授和同学,她的HeadFirst风格的论文获得了极高的评价,她拿到了学位,也完成了《深入浅出SQL》,等不及要投入下一本书的创作中去。

Lynn喜欢旅游、烹饪、为完全不认识的人编织详细的背景故事。对了,她还有点小害羞。

AI导读
核心看点
  • 采用多感官视觉设计,降低学习门槛
  • 涵盖建表、插入、查询及事务等核心语法
  • 深入讲解数据库范式与数据归一化原理
适合谁读
  • 零基础想要快速入门SQL的初学者
  • 需要掌握数据库基础操作的数据分析师
  • 希望理解数据管理逻辑的计算机专业学生
读前提醒
  • 建议动手敲代码,结合练习加深记忆
  • 范式理论较抽象,需耐心理解其逻辑
  • 内容偏基础,进阶者需补充其他资料
读者共识
  • 图文并茂,通俗易懂,阅读体验极佳
  • 适合入门,但高阶内容如索引涉及较少
  • 篇幅较长,部分读者觉得内容略显啰嗦

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "1. 慢慢来,理解越多,需要强记的就越少; 2. 勤做练习,写下你的心得笔记; 3. 认真阅读“没有蠢问题”单元; 4. 把阅读本书作为睡前最后一件事,或者至少当做睡前最后一件具有挑战的事; 5. 喝水,多喝水; 6. 说出来,大声说出来; 7. 倾听大脑的声音; 8. 用心感受; 9. 动手设计。"
  • "没人能保证表的最后一行就是最新输入的记录。"
  • "除非你可以非常确定where子句只会删除你打算删除的行,否则都应该用select确认情况"
  • "每个数据行必须包含具有原子性的值 每个数据行必须有独一无二的识别项,人称主键"
  • "表应该是为了节省精力而设计。别为了克服设计不良的表而执意改善查询"
  • "CREATE DATABASE gregs_list; USE DATABASE gregs_list;"
  • "CREATE TABLE donut_list (donut_name VARCHART(10), donut_type VARCHART(6) );"
  • "DESC donut_list;"
目录
Intro Who iS this book for? We know what you’re thinking Metacognition Bend your brain into submission Readmc The technical review team Acknowledgments1 Data and Tables: A place for everything Defining your data Look at your data in categories What's in a database? Your database viewed through x-ray specs Databases contain connected data Tables Up Close Take command! Setting the table: the CREATE TABLE statement Creating a more complicated table Look how easy it is to write SQL Create the mycontacts table, finally Your table is ready Take a meeting with some data types Your table, DESCribed You can't recreate an existing table or database! Out with the old table, in with the new To add data to your table, you'll use the INSERT statement Create the INSERT statement Variations on an INSERT statement Columns without values Peek at your table with the SELECT statement SQL Exposed: Confessions of a NULL Controlling your inner NULL NOT NULL appears in DESC Fill in the blanks with DEFAULT Your SQL Toolbox2 The SELECT Statement: Gifted data retrieval  Date or no date? A better SELECT What the * is that? How to query your data types More punctuation problems Unmatched single quotes Single quotes are special characters INSERT data with single quotes in it SELECT specific columns to limit results SELECT specific columns for faster results Combining your queries Finding numeric values SmComparison Operators Finding numeric data with Comparison Operators Text data roping with Comparison Operators To be OR not to be The difference between AND and OR Use IS NULL to find NULLs Saving time with a single keyword: LIKE The call of the Wild(card) Selecting ranges using AND and comparison operators Just BETWEEN us... there's a better way After the dates, you are either IN... ... or you are NOT IN More NOT Your SQL Toolbox3 DELETE and UPDATE: A change will do you good  Clowns are scary Clown tracking The clowns are on the move How our clown data gets entered Bonzo, we've got a problem Getting rid of a record with DELETE Using our new DELETE statement DELETE rules The INSERT-DELETE two step Be careful with your DELETE The trouble with imprecise DELETE Change your data with UPDATE UPDATE rules UPDATE is the new INSERT-DELETE UPDATE in action Updating the clowns' movements UPDATE your prices All we need is one UPDATE YOur SQL Tbolbox4 Smart Table Design: Why be normal?  Two fishy tables A table is all about relationships Atomic data Atomic data and your tables Atomic data rules Reasons to be normal The benefits of normal tables Clowns aren't normal Halfway to 1NF PRIMARY KEY rules Getting to NORMAL Fixing Greg's table The CREATE TABLE we wrote Show me the Time-saving command The CREATE TABLE with a PRIMARY KEY 1, 2, 3... auto incrementally Adding a PRIMARY KEY to an existing table ALTER TABLE and add a PRIMARY KEY Your SQL Toolbox5 ALTER: Rewriting the past 6 Advanced SELECT: Seeing your data with new eyes 7 Multi-table Database Design: Outgrowing your table 8 Joins and Multi-table Operations: Can’t we all just get along? 9 Subqueries: Queries Within Queries 10 Outer Joins, Self Joins, and Unions: New maneuvers 11 Constraints, Views, and Transactions: Too many cooks spoil the database 12 Security: Protecting your assets
用户评论
nice IT-books simplize it
实践性挺强的,并不限于某个特定的SQL数据库,可惜子查询和联结那块点到为止有点可惜,范式也仅仅讲到了3NF。
入门超棒
相对简单,教会你怎么用一个工具,没有逻辑性的东西。编程语言确实有一部分考验的是记忆力和熟练度(需要时间),重要的是数据结构和算法(需要才华,时间,经验),可惜木有才华……接下来看动物书,记工具……还有PHP是什么样的啊……想了解下
终于看完了,下周整理笔记
已经不写code了
入门奇书
特别好的入门书 讲的特别清晰和细致
@2016-05-23 14:24:00
知识点非常基础,很适合数据库入门,而且例子代码丰富,全部动手敲一敲会很有帮助~
收藏