Chapter 14 – Top SQL Commands Cheat Sheet

“You miss 100 percent of the shots you never take.”

-Wayne Gretzky

SELECT All Columns from a Table and Sort

images

Select Specific Columns and Limiting the Rows

images

Changing your Default Database

images

Keywords that describe you

images

Select TOP Rows in a Rank Order

images

A Sample number of rows

images

Getting a Sample Percentage of rows

images

Find Information about a Database

images

Find information about a Table

images

Using Aggregates

images

Performing a Join

images

Performing a Join using ANSI Syntax

images

Using Date, Time, and Timestamp

images

Using Date Functions

images

Using the System Calendar

images

Using the System Calendar in a Query

images

Formatting Data

images

Using Rank

images

Using a Derived Table

images

Using a Subquery

images

Correlated Subquery

images

Using Substring

images

Basic CASE Statement

images

Advanced CASE Statement

images

Using an Access Lock in your SQL

images

Collect Statistics

images

CREATING a Volatile Table with a Primary Index

images

CREATING a Volatile Table that is Partitioned (PPI)

images

CREATING a Volatile Table that is deleted after the Query

images

Finding the Typical Rows per Value for specific column

images

Finding out how much Space you have

images

How much Space you have Per AMP

images

Finding your Space

images

Finding Space Skew in Tables in a Database

images

Finding the Number of rows per AMP for a Column

images

Finding Account Information

images

Ordered Analytics

images

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.254.44