Skip to main content
MSSQL - Tip, Tricks & Shortcuts

Structured Query Language (SQL) - Tutorial & Tips

SQL is a language that's used in most relational database management system (RDMS) for managing data in a database. SQL comprises dozens of SQL commands you can use to create database tables, select the records you want, count the number of records in a table, calculate prices, and perform many more operations.

database management system in a Rub-A-Dub Style

Data Manipulation

Inserting Data
Sorting Data
Updating Existing Data
Deleting Data

Query Fundamentals

Select list
Filtering Rows with WHERE and HAVING
FROM clause
WHERE clause
ORDER BY clause
JOIN clauses

Sub Queries

Subqueries
Correlated Subqueries

Advanced Query Concepts

Using aggregate functions
Using GROUP BY and UNION
Subqueries
Summarizing data

Joins

Stored Procedures

Setup SSMS

Setup MS SQL

SELECT Keyword WHERE Keyword NULL Values WHERE Keyword COUNT function MAX function MIN function SUM function AVG function ORDER BY Subquery CASE statement GROUP BY UNION UNION ALL JOINS Types of joins Having Round Rank CTE 1.
2.
3.
4.
5.
6.
7.
8.
9.
How BXImpact Credit Repair can help

LearningDub.com helps you understand

LearningDub.com will put you through the drill and provided useful information about:
////////////////////// //QUERYING DATA SELECT Column Aliases ORDER BY SELECT DISTINCT //FILTERING DATA WHERE AND Operator OR Operator LIMIT FETCH IN BETWEEN LIKE IS NULL //JOIN TABLES Joins Table Aliases INNER JOIN LEFT JOIN RIGHT JOIN SELF-JOIN FULL OUTER JOIN Cross Join Natural Join //GROUP DATA GROUP BY HAVING GROUPING SETS CUBE ROLLUP //SET OPERATIONS UNION INTERSECT EXCEPT //MODIFYING DATA INSERT INSERT Multiple Rows UPDATE UPDATE Join DELETE DELETE Join Upsert MERGE //SUBQUERY Subquery Correlated Subquery ANY Operator ALL Operator EXISTS Operator //MANAGING TABLES PostgreSQL Data Types Create Table Select Into Create Table As SERIAL Sequences Identity Column Generated Columns Alter Table Rename Table Add Column Drop Column Change Column’s Data Type Rename Column Drop Table Temporary Table Truncate Table //DATABASE CONSTRAINTS Primary Key Foreign Key CHECK Constraint UNIQUE Constraint NOT NULL Constraint DEFAULT Constraint //CONDITIONAL EXPRESSIONS & OPERATORS CASE COALESCE NULLIF CAST ////////////////////////

How to

1
///////////////////////
Scroll to Top