SQL VIEWS + Complex Queries, Cross Joins, Unions, and more! |¦| SQL Tutorial

Share
Socratica
Published at : 14 Oct 2021
163762 views
6871
53

In SQL, a VIEW is a virtual table. It lets you package a complex query into a single table. We will discuss several queries in increasing difficulty to show how VIEWs can greatly simplify your work. In our examples we will introduce CROSS JOINs, Unions, the CONCAT() function, and the COALESCE() function.

Our SQL playlist starts here:
http://bit.ly/Socratica_SQL

Be sure to SUBSCRIBE for more SQL!
http://bit.ly/SocraticaSubscribe

You may also enjoy our Python playlist:
http://bit.ly/PythonSocratica

♦♦♦♦♦♦♦♦♦♦

Ways to support our channel:

►  Join our Patreon : https://www.patreon.com/socratica
►  Make a one-time PayPal donation: https://www.paypal.me/socratica
►  We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9

Thank you!

♦♦♦♦♦♦♦♦♦♦

Connect with us!

Facebook: https://www.facebook.com/SocraticaStudios/
Instagram: https://www.instagram.com/SocraticaStudios/
Twitter: https://twitter.com/Socratica

♦♦♦♦♦♦♦♦♦♦

SQL instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Kimberly Hatch Harrison (@khhsocratica) & Michael Harrison (@mlh496)

♦♦♦♦♦♦♦♦♦♦

SocraticaSocraticaCSSQL

Learn How To Distinguish Between Similar Sounds - How I Study

Learn How To Distinguish Between Similar Sounds - How I Study

A Deeper Look at the Google Pixel 6 and 6 Pro

A Deeper Look at the Google Pixel 6 and 6 Pro

Learn 5 Digital Marketing Skills in 5 Minutes!

Learn 5 Digital Marketing Skills in 5 Minutes!

ILSI NA:How can current knowledge  be utilized to understand sweetness in diet health(Kees de Graaf)

ILSI NA:How can current knowledge be utilized to understand sweetness in diet health(Kees de Graaf)

Millions Of Americans Return Home On Busiest Travel Day Of The Pandemic

Millions Of Americans Return Home On Busiest Travel Day Of The Pandemic

FIRST PERSON vs THIRD PERSON (Best AR)

FIRST PERSON vs THIRD PERSON (Best AR)

LADIES - ORDER WHAT YOU CAN AFFORD 😂😂😂😂😂😂😂😂😂😂

LADIES - ORDER WHAT YOU CAN AFFORD 😂😂😂😂😂😂😂😂😂😂

I recognized the bodies in the water...

I recognized the bodies in the water...

GET ILL. (feat. ILL US)

GET ILL. (feat. ILL US)

Does 240 Hz actually give you an advantage?

Does 240 Hz actually give you an advantage?

Bon Jovi - These Days [With Lyrics]

Bon Jovi - These Days [With Lyrics]

Stephen Auditions Paul Rudd For People's 'Sexiest Man Alive'

Stephen Auditions Paul Rudd For People's 'Sexiest Man Alive'

I Don't Like

I Don't Like

Wine & Wisdom: WELCOME ADDITION!  🍷

Wine & Wisdom: WELCOME ADDITION! 🍷

Row Reducing a Matrix - Systems of Linear Equations - Part 1

Row Reducing a Matrix - Systems of Linear Equations - Part 1

Every Outfit the Haim Sisters Wear in a Week | 7 Days, 7 Looks | Vogue

Every Outfit the Haim Sisters Wear in a Week | 7 Days, 7 Looks | Vogue

SUPER EASY Way To Catch LOADS Of Crappie In The Fall!

SUPER EASY Way To Catch LOADS Of Crappie In The Fall!

Hoobastank - The Reason (한국어 가사/해석/자막)

Hoobastank - The Reason (한국어 가사/해석/자막)

Pari Making Doracake In 2 Minutes | बड़ा डोरा केक सिर्फ २ मिनट में  | Pari's Lifestyle

Pari Making Doracake In 2 Minutes | बड़ा डोरा केक सिर्फ २ मिनट में | Pari's Lifestyle

Poland-Belarus: Latvia to install temporary fence as migrant crisis escalates

Poland-Belarus: Latvia to install temporary fence as migrant crisis escalates

KORREKT oder WEG! (mit Inscope21)

KORREKT oder WEG! (mit Inscope21)

Hotel Splendid Conference & SPA Resort

Hotel Splendid Conference & SPA Resort

Virgil Abloh Faked His Death!

Virgil Abloh Faked His Death!

daily life of Korean High School VLOG: GRWM, korean student make up, school lunch, nasi goreng

daily life of Korean High School VLOG: GRWM, korean student make up, school lunch, nasi goreng

Music to Receive Money Unexpectedly | Attract and Manifest Money | Wealth Now | 432 hz

Music to Receive Money Unexpectedly | Attract and Manifest Money | Wealth Now | 432 hz

Scoring a 99 Yard Touchdown with EVERY NFL Running Back in ONE VIDEO!

Scoring a 99 Yard Touchdown with EVERY NFL Running Back in ONE VIDEO!

Finance & Corporate Committee - Zoom Meeting

Finance & Corporate Committee - Zoom Meeting

Getting Ready For The LACMA Gala | The D'Amelio Family

Getting Ready For The LACMA Gala | The D'Amelio Family

Amelia & Avelina go to school and learn about good and bad behaviour

Amelia & Avelina go to school and learn about good and bad behaviour

Family I Kids Vocabulary - Family Members I English For Kids

Family I Kids Vocabulary - Family Members I English For Kids

பாகிஸ்தானை வலையில் சிக்க வைக்கும் S-400 | S-400 Mainly for Pakistan | SM

பாகிஸ்தானை வலையில் சிக்க வைக்கும் S-400 | S-400 Mainly for Pakistan | SM

How some school districts are coping with staff shortages, other pandemic disruptions

How some school districts are coping with staff shortages, other pandemic disruptions

Autumn Needlepoint Reunion | Market in Review

Autumn Needlepoint Reunion | Market in Review

President Biden on the Importance of Bipartisanship & Vaccines, Rejecting Extremism in Trump’s GOP

President Biden on the Importance of Bipartisanship & Vaccines, Rejecting Extremism in Trump’s GOP

We're Coming Back

We're Coming Back

Sailing to Greenland Part4. -The return back to Norway. -

Sailing to Greenland Part4. -The return back to Norway. -

Kayleigh   McEnany just exp0sed documents Trump has been working so hard to h!de.

Kayleigh McEnany just exp0sed documents Trump has been working so hard to h!de.

రేపటి మార్కెట్ లో EXACT గా ఎం చెయ్యాలి? | What to do as EXACT in tomorrow's market? #148

రేపటి మార్కెట్ లో EXACT గా ఎం చెయ్యాలి? | What to do as EXACT in tomorrow's market? #148

SZÖRNYEK VANNAK A HÁZBAN! AMONG THE SLEEP

SZÖRNYEK VANNAK A HÁZBAN! AMONG THE SLEEP

Tiger Family Lunch; Dinnertime at Jodi's

Tiger Family Lunch; Dinnertime at Jodi's

Best Fails Of The Week #2 | Razy Clips

Best Fails Of The Week #2 | Razy Clips

Wild elephants return to a more ‘suitable’ habitat in Yunnan

Wild elephants return to a more ‘suitable’ habitat in Yunnan

You Spill It, You Scull It (With Toilet Water)

You Spill It, You Scull It (With Toilet Water)

prior to now - shirky

prior to now - shirky

Things YOU can get for FREE as a student that companies don’t want YOU to know about PT 2🤭 #shorts

Things YOU can get for FREE as a student that companies don’t want YOU to know about PT 2🤭 #shorts

James’ Listing Impresses Newlywed Couple | Million Dollar Listing LA Highlight (S13 E9) | Bravo

James’ Listing Impresses Newlywed Couple | Million Dollar Listing LA Highlight (S13 E9) | Bravo

Robin Schulz & Dennis Lloyd - Young Right Now (Official Video)

Robin Schulz & Dennis Lloyd - Young Right Now (Official Video)

Noah Cover (Feat. Christina Grimmie) of "Somebody That I Used To Know" by Gotye (Feat. Kimbra)

Noah Cover (Feat. Christina Grimmie) of "Somebody That I Used To Know" by Gotye (Feat. Kimbra)

The Arrival has a gas shortage in The Gambia

The Arrival has a gas shortage in The Gambia