Skip to content
all things sql website logo

All Things SQL

All Things Related To SQL, Databases & Cloud Based Solutions

  • Home
  • What is SQL?
  • Contact
  • About
  • Privacy Policy / Disclaimer

Month: May 2021

All Things SQL 

SQL Concatenate – Combining Columns in a Table

combine columns in sql, combining columns in sql, combining two columns in sql, concat 2 columns in sql, concat two columns in sql, sql combine columns, sql combining two columns, sql concat 2 columns, sql concat two columns

We can combine multiple columns together into one in SQL using concatenation. Many databases have their own versions of combining

Read more
All Things SQL 

SQL INSERT – Using SELECT Statement

insert into table values select, insert into values select sql, insert using select sql, sql insert into values select, sql insert using select

We can write standard insert queries using hard-coded values. Similarly, we can write inserts and instead use a SELECT query

Read more
All Things SQL 

SQL INSERT Statement – Inserting Table Records

insert columns in sql, insert statement sql, sql insert statement

We are able to insert records into a database table using a SQL INSERT statement. Alternatively, we can utilize the

Read more
All Things SQL 

SQL UPDATE Statement – Modifying Table Records

sql update multiple columns, sql update statement, update multiple columns in sql, update statement sql

We can manipulate, modify or update records in a database table using a SQL UPDATE statement. Specifying a WHERE clause

Read more
All Things SQL 

SQL DROP – Tables, Views, Etc. – Deleting an Object

delete objects sql, drop objects sql, dropping objects sql, sql delete object, sql drop object

Separate from TRUNCATE and DELETE commands, we can use the DROP command to remove objects such as tables in SQL

Read more
All Things SQL 

SQL Case Statement Examples – Replacing If-Else

case statement sql, sql case statement, sql case statement examples, sql if else replacement, sql using case instead of if

Although some databases do support the IF ELSE functionality, the syntax can vary. The CASE statement can be used as

Read more

Start Learning SQL

  • SELECT – Start Here
  • DISTINCT and COUNT – The Basics
  • WHERE – Using Filters
  • AND Versus OR Operators
  • Parentheses – Order of Operations
  • JOIN – Inner Join and Aliases
  • WHERE – Joining Tables
  • JOIN – Left, Right, and Full Outer
  • GROUP BY – Count, Sum, and More
  • HAVING – Filtering Aggregates
  • ORDER BY – Sorting Results
  • UNION ALL – Combining Datasets
  • MINUS – Subtracting Datasets

Advanced SQL

  • CAST & CONVERT – Modifying Data Types
  • CONCAT – Combining Multiple Columns
  • INSERT – Using SELECT Statement
  • CASE Statement – Replacing If-Else
  • LEAD() Function – Getting Next Values
  • LAG() Function – Getting Previous Values

DML & DDL Examples

  • DDL vs DML – A Comparison
  • CREATE TABLE – Examples
  • ALTER TABLE – Add, Drop, & Modify Columns
  • TRUNCATE vs DELETE – Erasing Tables
  • DROP – Tables, Views, Etc. – Deleting Objects

Common SQL Problems

  • Finding Duplicates
  • Getting Today’s Date

Data Warehousing

  • Fact Tables vs Dimension Tables
  • Slowly Changing Dimensions
  • OLAP vs OLTP Databases
Copyright © 2023 All Things SQL. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.