SQL Server 2012 Pure SQL

Purchasing Alternatives

Help is here: If something is not working with links, payments, or downloads, do not hesitate to email us at demerp@alphapresspublishing.com and we will respond ASAP with instructions and solutions.

This book is currently available in print format only.

Download the sample database for MS SQL SERVER 2012 Pure SQL

Click here to download the SQL Server Database

Book Description

The first goal of this book is to provide the power user and database professional with SQL solutions to problems they face in the business working environment. To achieve this, the author uses his experience from the myriad of projects he participated in the last twenty years. He also follows user newsgroups where multiple business problems are posted. It is a pragmatic book that will show you how to calculate discounted sales volumes depending on revenue volumes, how to calculate employee commissions based on their sales, how to update multiple product prices from multiple suppliers conditionally, or how to find products with prices above the average product price.


This book will not waste your time by repeating "in a beautified form" what is in the help file for administration and reference: it is intended to help you with your time, not waste it. The second goal of this book is to help people who want to learn SQL from the ground up. For this reason the author included in the beginning of each chapter simple but not simplistic theory so that the novice can be gradually introduced to the concepts of practical SQL and become an expert. If you need to teach SQL Server T-SQL in a class environment, you might want to consider the book "SQL Server T-SQL Comprehensive: version 2012" from the same author.

Book Table of Contents

CHAPTER 1 SQL FOUNDATION FOR BUSINESS

CHAPTER 2 CREATE, EDIT, AND DELETE TABLES USING SQL

CHAPTER 3 CREATE, EDIT, AND DELETE INDEXES USING SQL

CHAPTER 4 CREATE, EDIT, DELETE RELATIONSHIPS USING SQL

CHAPTER 5 THE SELECT STATEMENT

CHAPTER 6 THE OR AND AND OPERATORS

CHAPTER 7 SORTING RECORDS: THE ORDER BY CLAUSE

CHAPTER 8 WORKING WITH WILDCARD CHARACTERS

CHAPTER 9 THE LIKE OPERATOR

CHAPTER 10 EQUALITY AND INEQUALITY PREDICATES

CHAPTER 11 THE BETWEEN OPERATOR

CHAPTER 12 THE IN OPERATOR

CHAPTER 13 THE DISTINCT PREDICATE

CHAPTER 14 THE TOP PREDICATE

CHAPTER 15 CALCULATED FIELDS

CHAPTER 16 CONCATENATED FIELDS

CHAPTER 17 THE GROUP BY CLAUSE

CHAPTER 18 AGGREGATE FUNCTIONS

CHAPTER 19 CROSSTABING IN SQL SERVER 2012

CHAPTER 20 CONDITIONAL DATA MANIPULATION

CHAPTER 21 UNION OPERATIONS

CHAPTER 22 DUPLICATE, ORPHANED, and UNRELATED RECORDS

CHAPTER 23 WORKING WITH NULLS

CHAPTER 24 TYPE CONVERSION FUNCTIONS

CHAPTER 25 WORKING WITH STRINGS

CHAPTER 26 WORKING WITH DATES

CHAPTER 27 UPDATE SQL STATEMENTS

CHAPTER 28 DELETE STATEMENTS

CHAPTER 29 WORKING WITH JOINS

CHAPTER 30 WORKING WITH SUB-QUERIES

CHAPTER 31 STORED PROCEDURES

CHAPTER 32 TRIGGERS