Murachs SQL Server 2016 For Developers TOC
Murachs SQL Server 2016 For Developers TOC
for Developers
Introduction xv
Reference aids
Appendix A How to set up your computer for this book 649
Index 661
Expanded contents v
Expanded contents
Section 1 An introduction to SQL
Chapter 1 An introduction to relational databases and SQL
An introduction to client/server systems..........................................4
The hardware components of a client/server system.......................................................4
The software components of a client/server system.........................................................6
Other client/server system architectures..........................................................................8
An introduction to the relational database model.......................... 10
How a database table is organized.................................................................................10
How the tables in a relational database are related........................................................12
How the columns in a table are defined.........................................................................14
How relational databases compare to other data models...............................................16
An introduction to SQL and SQL-based systems.......................... 18
A brief history of SQL...................................................................................................18
A comparison of Oracle, DB2, MySQL, and SQL Server.............................................20
The Transact-SQL statements..........................................................22
An introduction to the SQL statements..........................................................................22
Typical statements for working with database objects...................................................24
How to query a single table............................................................................................26
How to join data from two or more tables.....................................................................28
How to add, update, and delete data in a table...............................................................30
SQL coding guidelines...................................................................................................32
How to work with other database objects.......................................34
How to work with views................................................................................................34
How to work with stored procedures, triggers, and user-defined functions...................36
How to use SQL from an application program...............................38
Common data access models.........................................................................................38
How to use ADO.NET from a .NET application...........................................................40
Visual Basic code that retrieves data from a SQL Server database................................42
C# code that retrieves data from a SQL Server database...............................................44