SQL Server: From Beginner to Mastery (2nd Edition) cover

SQL Server: From Beginner to Mastery (2nd Edition)

No rating yet
Word count
873K words
Chapters
24
Series
Software Development Video Lecture Series
ISBN
9787302458210

Tags

Summary

This volume in the Software Development Video Lecture Series focuses on SQL Server and is written for complete beginners. Using SQL Server 2012 as the teaching environment, it systematically introduces the common techniques of database development and management. The book is organized into four parts—Fundamentals, Core Techniques, Advanced Applications, and Project Practice—totaling 20 chapters. The Fundamentals part begins with database systems, the three-level schema, data models, and relational normalization, then introduces the features, installation and uninstallation, service startup, and server registration of SQL Server 2012, and explains how to create, modify, and delete databases; create and manage data tables; insert, update, and delete data; use various constraints (primary key, unique, check, default, foreign key); and establish one-to-one, one-to-many, and many-to-many relationships. The Core Techniques part centers on T-SQL, covering constants, variables, comment markers, operators and wildcards, flow-control statements, and common commands; it then systematically reviews aggregate, mathematical, string, date-and-time, and conversion functions; moves on to advanced query topics such as SELECT query basics, subqueries and nested queries, and join queries; and introduces views, stored procedures, and triggers. The Advanced Applications part covers cursors, indexes and data integrity, transactions and locks, routine maintenance of SQL Server 2012 (detach and attach, import and export, backup and restore), and database security mechanisms. The Project Practice part uses three cases—a library management system built with Visual C++, an enterprise HR management system built with C#, and an enterprise inventory management system built with Java—to demonstrate how databases work with upper-layer applications. The book includes numerous examples with code comments, along with synchronized instructional videos and exercises.

Editor's review

很多人学数据库时的痛点是:教材讲得干、工具装不上、语法背完却写不出可用查询。这本书的编排正好对准这几个坎。 一是入门门槛压得足够低。开篇先补数据库原理的底子——三级模式、关系模型、规范化,再一步步带你装好 SQL Server 2012、认识配置管理器和 SSMS,连“服务怎么启动”“服务器怎么注册”这种新手最容易卡住的小步骤都有单独章节。 二是知识点覆盖完整且层次清楚。四篇结构基本对应“看懂原理—写得出语句—管得住数据库—做得出项目”四步:T-SQL 语法、函数、查询、视图、存储过程、触发器、游标、索引、事务、备份恢复、权限安全,一个不落。函数部分按聚合、数学、字符串、日期时间、转换分类列举,适合当手册随查随用。 三是案例驱动。正文知识点配实例讲解、代码带详细注释,最后三章分别用 Visual C++、C#、Java 做图书管理、人事管理、进销存三个系统,把“建库—建表—写查询—接到程序里”的链路完整走一遍,这是不少同类入门书缺的部分。随书还配同步视频与练习题目,自学或课堂演示都能用。 需要提前说明的是:本书以 SQL Server 2012 为环境,界面与部分语法细节与新版 SQL Server 有差异,学习时以语法和思路为主,工具操作请对照自己安装的版本。

Who it's for

A good fit for

  • 零基础想系统入门数据库与 SQL 语言的自学者
  • 高校计算机、软件、信息管理相关专业的在校学生
  • 需要从零掌握 SQL Server 的转行或初级开发人员
  • 做毕业设计、课程设计需要数据库实战案例的学生
  • 培训机构数据库课程的授课老师与学员

Not a good fit for

  • 已熟悉 T-SQL、想深入性能调优与查询优化的进阶读者
  • 只使用 MySQL、PostgreSQL 等其他数据库、无 SQL Server 需求的读者
  • 希望直接学习 SQL Server 最新版本(2019/2022)新特性的读者
  • 需要高阶分布式架构、高可用集群等企业级方案的读者

Reading tips

  1. 先装好 SQL Server 2012(或手头的新版本)和 SSMS,边读边敲代码,不要只看不练。
  2. 每章末尾的“小结”和“实践与练习”不要跳过,练习题是检验语法是否真正掌握的最快方式。
  3. 函数与查询章节建议配合自己的业务数据做小实验,如用员工表练习多表联接与分组统计。
  4. 项目实战三章可任选与自身技术栈匹配的一章精读,把建库脚本和查询语句亲手复现一遍。

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Part 1 Fundamentals
  2. Chapter 1 Database Fundamentals
  3. Chapter 2 Getting Started with SQL Server 2012
  4. Chapter 3 Starting and Registering SQL Server 2012 Services
  5. Chapter 4 Creating and Managing Databases
  6. Chapter 5 Working with Data Tables
  7. Part 2 Core Techniques
  8. Chapter 6 SQL Basics
  9. Chapter 7 Using SQL Functions
  10. Chapter 8 SQL Data Query Basics
  11. Chapter 9 Advanced SQL Data Queries
  12. Chapter 10 Using Views
  13. Chapter 11 Stored Procedures
  14. Chapter 12 Triggers
  15. Part 3 Advanced Applications
  16. Chapter 13 Using Cursors
  17. Chapter 14 Indexes and Data Integrity
  18. Chapter 15 Transactions in SQL
  19. Chapter 16 Maintaining SQL Server 2012
  20. Chapter 17 Database Security Mechanisms
  21. Part 4 Project Practice
  22. Chapter 18 Building a Library Management System with Visual C++ and SQL Server
  23. Chapter 19 Building an Enterprise HR Management System with C# and SQL Server
  24. Chapter 20 Building an Enterprise Inventory Management System with Java and SQL Server

FAQ

这本书用的是 SQL Server 的哪个版本?
全书以 SQL Server 2012 为讲解环境,安装、配置管理器和 SSMS 的操作界面均按该版本描述。若你装的是更新的版本,主体语法基本通用,个别菜单位置与功能名称会有所不同,以自己机器的界面为准。
零基础能直接读这本书吗?需要先学数据库理论吗?
可以。第1章就是数据库系统、三级模式、数据模型和关系规范化的入门铺垫,不需要额外预备知识。只要具备基本的计算机操作能力,跟着章节顺序读即可。
书里的实例和项目用什么语言开发?
项目实战篇分别使用 Visual C++、C# 和 Java 连接 SQL Server,实现图书管理系统、企业人事管理系统和企业进销存管理系统。读者可按自己的技术栈选读其中一章。
第1版和第2版有什么区别?
两者都以 SQL Server 2012 为环境,第2版的章节编排由 4 篇 20 章组成,知识点分布与实例较第1版做了调整与增补,并保留了配套视频与练习体系。选购时请以 ISBN 9787302458210 对应第2版为准。
这本书适合拿来准备数据库相关考试吗?
书中知识点覆盖较全,章节后有实践与练习,可作为打基础的参考读物。但它不是应试教材,若目标是计算机等级考试或软考,建议再配合对应考试的官方大纲与真题使用。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

Mingri Technology, whose full name is Jilin Province Mingri Technology Co., Ltd., is a high-tech company specializing in software development, education and training, and the integration of software development educational resources, and it organizes the compilation of computer programming textbooks. Its works are aimed mainly at programming beginners and focus on learning languages such as Python, Java, C#, and SQL, as well as GUI design and web front-end development; its common categories are programming design, computer fundamentals, and software learning. Representative works include the upgraded editions of Python GUI Design, SQL, and Java in the “Zero Foundation Learning” series, along with study notes on HTML+CSS+JavaScript and a complete self-study course on C#. The company has developed textbook series such as “From Beginner to Master” and “Software Development Video Lecture Hall”; related textbooks have received industry and university press awards, and several titles have long ranked among the top sellers in their categories. Public information is limited; the author name is an institutional byline, and the focus is on the compilation and publication of computer programming educational materials.

More by the same author

Top rated in the same category