SQL for Beginners - Learn to Create a Database & Query Data & Connect to a Database from Excel
Автор: MissCoding
Загружено: 2022-04-22
Просмотров: 166
Hi everyone!
Today I have a beginners tutorial on SQL. You will learn how to create a database and setup your database schema in the tables you create and how to define relationships between these tables and specify various constraints on the data stored in tables. You will learn what a primary and foreign key are and how to use these to query data stored across multiple tables.
You will learn how to insert, update and delete data in SQL database. Then you will learn how to perform basic queries across the tables you create. We will also spend some time exploring the different types of joins available in SQL; inner join, left join, right join, full join and self join. I will provide you with practical examples of all of these to help you understand the key differences.
I will also cover various aggregate functions that can be used in SQL e.g. AVG, SUM, COUNT and will also explore their use with respect to the GROUP BY statement for grouping data and forming more complex queries.
Then we will explore some more advanced topics such as creating reusable SQL statements by writing functions and stored procedures and the key differences between these. We will also look at using variables and if else statements in your SQL statements.
Then we will continue with some database management techniques such as backing up a database, restoring a database and dropping a database. We will also look at how to connect to a database from Excel and use the Power Query Editor to perform some basic queries and adjustments to our data.
I will show you all of this in SQL Server Management Studio.
All my code is available on Github:
https://github.com/chelseafarley/SqlF...
Lessons:
Agenda 0:00
SQL Basics 1:44
Create Database 2:35
Primary Key 3:33
Create Table 4:40
Foreign Key 7:21
Insert Data 10:26
Query Data with Select 15:31
Insert Data with Foreign Key Relationship 16:04
Filter Data with Where 23:03
Aliases 24:48
Inner Join 25:36
Left & Right Joins 27:29
Union 31:14
Wildcards and Like 32:13
Alter Table and Add Column 34:28
Full Join 38:41
Self Join 40:37
Select Top X and Order By 43:00
Min and Max 43:43
Distinct 44:27
Update Data and Null Values 45:00
Aggregate Functions - Count, Sum, Avg 46:49
Group By 48:17
Variables 55:13
If Else Statements 59:05
Reusable SQL and Functions 1:01:52
Stored Procedures 1:05:01
Drop Procedures and Functions 1:10:47
Delete Data 1:12:09
Backup Database 1:13:22
Drop Database 1:14:07
Restore Database 1:15:37
Connect to Database from Excel 1:16:44
You’ve clearly come here to learn and a free audible trial allows you to increase your learning potential in situations where you may be hands free like at the gym or on your commute. It allows you to spend more time on theory when you aren’t able to watch a screen, so that you can maximise your screen time to pick up technical skills. Try it for free today:
https://amzn.to/3ECMsom
// ABOUT ME
My name is Chelsea and I started studying software engineering in 2010. I have been working commercially full time since 2014 and have been in various positions from graduate developer to tech lead to solution architect.
I'm a full stack developer with a lot of experience in C# and Javascript but my passion is for mobile development; specifically native iOS development and cross platform using React Native.
Please like and subscribe if you enjoyed this video and want to see more like it!
Have any suggestions on topics you would like to learn more about? Please suggest them in the comments... I would love to help you out while doing a bit of learning myself!
// PRODUCTS USED
Canon 18-55mm Lens - https://amzn.to/3IwscFR
A kit lens but a decent quality lens for beginners getting used to a DSLR
Canon EOS Rebel T7 with 18-55mm Lens - https://amzn.to/3XZauAL
This is the kit I started with it includes the lens linked above and is a great starter camera.
Apple iPhone 13 - https://amzn.to/3KAUba4
A good all round phone, good for Apple development and recording videos with enough high quality features but at a cheaper price point than the pro versions.
Apple MacBook Pro - https://amzn.to/3KxrE5q
A nice portable computer for working from anywhere and perfect for iOS development
Apple iPad Air - https://amzn.to/3xU2k21
Really easy to use for graphic design if required for logos as part of my app development or editing the videos on the go.
Apple Pencil (2nd Generation) - https://amzn.to/3EBSwNS
For logo and icon design in Affinity Designer app for iPad
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel so I can continue to provide you with free content each week!
//CONTACT:
Please contact me at: hello@tripwiretech.com
//CRAVING MORE:
You can find links to all my different sites and social media over on Linktree: https://linktr.ee/misscoding
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: