Тёмный

Expert Level SQL Tutorial 

James Oliver
Подписаться 12 тыс.
Просмотров 155 тыс.
50% 1

In this video I will show you what it takes to be a SQL expert. I will cover unions, recursive/hierarchical queries and partitioning.

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 132   
@supersql8406
@supersql8406 Год назад
I have been writing SQL for a long time and it's so refreshing to learn something new AND useful for work! Thank you!
@jnmnza
@jnmnza 3 года назад
I took, and passed, my 70-761 a few months ago; however, your tutorial would have made studying a lot easier. Great Job!
@opietwoep1247
@opietwoep1247 Год назад
Thanks for sharing. I learned a lot. Been working with sql server since 2000.
@anvesh12
@anvesh12 Год назад
U were at top notch in explanation and ur clarity throughout 🔥
@altareq24953
@altareq24953 Год назад
You teach incredibly great..... expert level but yet so simple and easy the way you teach. awesome James Oliver
@maximessina9999
@maximessina9999 3 года назад
Your videos are a privilege. Your channel is a rich source of knowledge.
@JamesOliver
@JamesOliver 3 года назад
Thanks so much for the kind words. I really appreciate it. Keeps me motivated! :)
@PawsAndKeys
@PawsAndKeys 2 года назад
THANK YOU! Finally an "Expert Level" video that doesn't teach to a beginner. It's so hard to find actually advanced information amidst all the beginner's tutorials.
@kanakbarua1122
@kanakbarua1122 2 года назад
@aa
@kanakbarua1122
@kanakbarua1122 2 года назад
@@
@ramm4012
@ramm4012 3 года назад
Great Presentation, learned something new. Great Job Oliver. Thank you
@nandkumargaikwad9014
@nandkumargaikwad9014 Год назад
so much admire , thank you
@johnmichelotti5373
@johnmichelotti5373 3 месяца назад
Been using SQL as a functional ERP resource so I don’t know if I am an expert. This is very well done and IMHO not too far out of reach for someone who has the basics. Where have you been hiding?
@MrFedX
@MrFedX 4 года назад
Excellent video! I was researching recursive queries for a future problem but now I will refactor another weird query using partitioning instead. 😄
@lostnight4322
@lostnight4322 4 года назад
github.com/sagittaracc/suql/blob/master/README.md
@justinrocky6645
@justinrocky6645 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zZhooGL-Ew.html
@eb_reviews
@eb_reviews 3 года назад
This helped me a lot! Thanks for the explaining it so clearly!
@ellukayou
@ellukayou Год назад
Finally I get it!!
@rodneyoganga6693
@rodneyoganga6693 3 года назад
Thank you Oliver for this great educative video
@emmanuelaolaiya
@emmanuelaolaiya 3 года назад
Thanks so much for this video. This is very useful and helpful
@midnightrun335
@midnightrun335 4 года назад
great work, expert explanation of expert level concepts.
@official-DRFRE
@official-DRFRE 3 года назад
Awesome tutorials especially partition by, this will definitely help me my work.
@piyushrajmishra
@piyushrajmishra 2 года назад
Very Informative. Thanks.
@adipai
@adipai 4 года назад
Thank you! Very nicely explained!
@benjolin1623
@benjolin1623 Год назад
I like the video. Although everyone is at different levels. Id like to see some stuff tricks, ways to use xml to generate html documents, ect.
@anawadtom6011
@anawadtom6011 3 года назад
Good video. I'm still processing how this works. Thanks
@dawnhuttoe7204
@dawnhuttoe7204 Год назад
Thank you so much 💓
@advancewebdevelopment9802
@advancewebdevelopment9802 2 года назад
Thanks
@hhbbhvvbjhbbyjj
@hhbbhvvbjhbbyjj 3 года назад
excellent video
@abcxyz6606
@abcxyz6606 3 года назад
Great videos, and very nicely explained. Please do more. TY!
@DanielHernandezCa
@DanielHernandezCa Год назад
Thank yoj
@michellefitzpatrick8296
@michellefitzpatrick8296 3 года назад
So well explained! Thank you
@hadireg
@hadireg 4 года назад
thanks for this!! II got it all ! you made my day!👍🙏
@JamesOliver
@JamesOliver 4 года назад
My pleasure. Appreciate the positive feedback.
@mattcoleman6780
@mattcoleman6780 3 года назад
Beautiful
@KgRu1eS
@KgRu1eS 2 года назад
Amazing! 🤯
@kosmipologe
@kosmipologe 4 года назад
Awesome! I like the recursive stuff! Great! Thanks a lot for this!
@justinrocky6645
@justinrocky6645 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zZhooGL-Ew.html
@老王-d5d
@老王-d5d 4 года назад
Very good video, wish I saw this before the died interview LOL
@justinrocky6645
@justinrocky6645 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zZhooGL-Ew.html
@dalton_hfg
@dalton_hfg 2 года назад
Great tutorial. Thanks.
@ruoxima3773
@ruoxima3773 2 года назад
EXCELLENT!!!!
@hadibq
@hadibq 2 года назад
👍👍
@sriniwaasvemula9349
@sriniwaasvemula9349 4 года назад
so helpful tutorial....thanks for share...if possible plz share data in SQL format to practice....
@mertcancoskun4658
@mertcancoskun4658 4 года назад
Top level content, thank you moneygrip.
@JamesOliver
@JamesOliver 4 года назад
Thanks! I really appreciate it.
@snowglider400
@snowglider400 3 года назад
this is great
@nilohernandez7508
@nilohernandez7508 Год назад
Sir excelent. Can you share the database so that i can follow what you are doing. Thanks
@foysalmamun5106
@foysalmamun5106 4 года назад
Nice Thank you lot
@vipin_thegame
@vipin_thegame 4 года назад
Thank you, very useful!
@JamesOliver
@JamesOliver 4 года назад
You're very welcome! :)
@justinrocky6645
@justinrocky6645 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zZhooGL-Ew.html
@basharjirjees8815
@basharjirjees8815 2 года назад
I honestly don't get the recursive example as for it to work the EmployeeHierachy has to always change for it to check and find the next boss and their employees, and also how some employees are on same level but have different bosses?
@50tigres79
@50tigres79 2 года назад
Wish the videos are higher definition. Other than that the channel is awesome.
@drillcream
@drillcream Год назад
great video! But I can hear the keyboard screaming after every stroke lol
@biljam972
@biljam972 4 года назад
Thank you for this! I am still struggling with recursion and partition so this is very helpfull for me.
@JamesOliver
@JamesOliver 4 года назад
You're very welcome. Glad to help! :)
@granand
@granand 3 года назад
Thank you very much. Please let me know if you have a full-fledged course? Looking to write user-defined functions with user input and create reports comparing databases from two different environments to show 2-way differences.
@taweesakarchawamaitreekool4078
@taweesakarchawamaitreekool4078 3 года назад
Thank you :)
@syednayyar
@syednayyar 20 дней назад
what do mean by materialized at 12:29
@standom2390
@standom2390 Год назад
Where to get a database for drills?
@chriskeo392
@chriskeo392 2 года назад
Montana!
@walkermom100
@walkermom100 2 года назад
Why are there 2 different tables with the same type of data. Should be 1 table with a column identifying the order type. Online or store.
@djp_video
@djp_video Год назад
04:15 That should really be a NULL, not an empty string. And adding matching aliases to any columns without names or dissimilar names is best practice.
@kaicheng7271
@kaicheng7271 4 года назад
Thanks for the great video! A quick question, arround 22:09 where are doing the PctTotal, can't we replace the 3rd line "TotalDue/Sum(TotalDue) OVER (PARTITION BY OrderDat) as PctTotal" with ""TotalDue/TotalSales as PctTotal" since we already aliased "Sum(TotalDue) OVER (PARTITION BY OrderDat)" as TotalSales? Thank you again!
@JamesOliver
@JamesOliver 4 года назад
I'm glad you enjoyed. In this video I'm using SQL Server and the alias cannot be reused, however, in certain databases you are absolutely right and this can be done.
@justinrocky6645
@justinrocky6645 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zZhooGL-Ew.html
@siddharthseksaria
@siddharthseksaria 4 года назад
If I couldn't find the top of the hierarchy, How do I write Anchor query in this case?
@wenkexu6363
@wenkexu6363 3 года назад
Why Level has [ ]? how to use eh. exactly? I need some help here
@zackjones8681
@zackjones8681 4 года назад
Nice samples. It's a little confusing because you have the same employee name assigned to two different employeeKeys (David Bradley is 7 & 8 for example)
@fun2badult
@fun2badult 3 года назад
How about the fact that there are duplicate names of employees with different employeekey numbers??
@ajtaffy
@ajtaffy 3 года назад
Looks like he used UNION ALL which will contain duplicates. If he'd had just used UNION there wouldn't have been duplicates. I'm not sure why he used UNION ALL...
@hadireg
@hadireg 4 года назад
loved these examples!! Many Thanks!! (sub #755 😊)
@JamesOliver
@JamesOliver 4 года назад
Thank you very much. I appreciate every sub! :)
@sohailalam499
@sohailalam499 3 года назад
I m having a problem. Need help in SQL. Can anyone help me?
@anthonyrc6618
@anthonyrc6618 4 года назад
Just wondering: is there an official list of detailed skills by level for SQL? Thanks for the video btw :D
@JamesOliver
@JamesOliver 4 года назад
Good question. Not that I know of but if you find one let me know! :) Thanks for watching.
@justinrocky6645
@justinrocky6645 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zZhooGL-Ew.html
@ivanbzg8955
@ivanbzg8955 4 года назад
Can someone explain to me whats the advantage of SQL vs dplyr package from R?
@lennovo9525
@lennovo9525 4 года назад
I'm just starting out, but my observations have been that R is data science research tool that offers great data transformation and visualization options, that Sql won't do or does very tediously. SQL can store large data very well, it's stable. Its an enterprise level product where R could not do, not very well any how. I think its not a question of which is better but how you can leverage both. Go easy on me, i am a Jr analyst.
@anastasiosvitsios6311
@anastasiosvitsios6311 4 года назад
Thank you James! Where can I find this table in order to practice myself?
@JamesOliver
@JamesOliver 4 года назад
You can download the AdventureWorks2012 SQL Server database for free from Microsoft.
@Hawkeye10000
@Hawkeye10000 3 года назад
@@JamesOliver can we use this SQL database for practice on mobile?
@JamesOliver
@JamesOliver 3 года назад
@@Hawkeye10000 what do you mean by mobile sql?
@Hawkeye10000
@Hawkeye10000 3 года назад
@@JamesOliver what I meant to ask was "Can I download this sql database practice application adventureworks2012 on mobile for sql practice?" The thing is: my laptop has gone for repairs and it's gonna take A WHILE. So can we download this Microsoft sql application on mobile for practice? Thanks. Regards.
@JamesOliver
@JamesOliver 3 года назад
@@Hawkeye10000 That would be really cool but I’m not sure that can be done.
@tiagosilva856
@tiagosilva856 2 года назад
That's expert level? Sooo, I must be God in SQL!
@benjolin1623
@benjolin1623 Год назад
It is pretty advanced stuff. Although I am also hoping to see some stuff, union, except, intercepts and XML.
@TechMarketers
@TechMarketers 4 года назад
Hi James, have you ever thought about creating sql intermediate/advanced course? I learn sql, use mysql workbench but I need new database and good examples, so It would be very useful for me :)
@JamesOliver
@JamesOliver 4 года назад
As a matter of fact recently I have thought about creating a class. I started putting together a course outline. Anything specific you would be interested in learning?
@TheDataMaestro
@TheDataMaestro 4 года назад
Great idea! I'm in the middle of each of 3 SQL courses and we never get to the meaty stuff. The instructors struggle with explaining self-joins, for instance.
@findthetruth3021
@findthetruth3021 4 года назад
I have a question. I have 200 rows, and I want to delete from row 150 until 200. So, how can I choose from 150 to 200?. I will appreciate that if anyone can help me coz there is not such video on RU-vid.
@Ramreddy-kq5or
@Ramreddy-kq5or 4 года назад
This can be done in multiple ways. Apply row_numbers to each row, then write delete statement with where row_number>50, Im just a intermediate in in SQL. I guess this works for you
@benjolin1623
@benjolin1623 Год назад
​@@Ramreddy-kq5or select top 50 blah... offset 150
@MrTxematrix
@MrTxematrix 4 года назад
RATIO_TO_REPORT
@j.maginnenu6291
@j.maginnenu6291 4 года назад
Do you do Oracle SQL lang instead? I dont see that
@JamesOliver
@JamesOliver 4 года назад
This is t-sql so will work on like a SQL Server.
@adventureswithfrodo2721
@adventureswithfrodo2721 4 года назад
The two sales tables are poor. It should all be in one table with a sales type flag. The you really need to have a star table structure etc.........
@JamesOliver
@JamesOliver 4 года назад
This was intentional and only to give context to the demonstration. The tables are not meant to reflect a realistic design.
@pdro283
@pdro283 3 года назад
This is Very Basic actually
@ConcernedCitizenFiveTowns
@ConcernedCitizenFiveTowns 3 года назад
This is expert? Seems level 4 of 10 difficulty
@joyo2122
@joyo2122 2 года назад
more like noob lvl sql
@JamesOliver
@JamesOliver 2 года назад
Tell me.. what do you consider advanced?
@MrCoder101
@MrCoder101 4 года назад
Please get microphone away from keyboard or use a quieter keyboard or don't hit the keys so hard. I want to hear you and I turn it up and then I have to turn it down when you start hitting enter.
@JamesOliver
@JamesOliver 4 года назад
Sorry about that. Will keep that in mind for future videos. I have a thing for mechanical keyboards but unfortunately they can be loud.
@TheDataMaestro
@TheDataMaestro 4 года назад
Actually, the noise keeps me focused as if I'm in the same room with James.
@abhidhatrak1
@abhidhatrak1 4 года назад
you dont explain the queries in detail. and the annoying noise of your keypress..
@JamesOliver
@JamesOliver 4 года назад
I thought I explained them enough. Sorry you feel that way.
@TheDataMaestro
@TheDataMaestro 4 года назад
There is a lot going on. I struggle with understanding it also, but I would suggest watching the video a few times and write your own similar queries against your own database.
@danicarovo8818
@danicarovo8818 4 года назад
I'm binging your videos at 1.5 speed 1 week before my database exam.:D Thanks a lot, great explanation, esp about the recursion, I needed that one!
@JamesOliver
@JamesOliver 4 года назад
You're very welcome. Good luck with the exam!
@justinrocky6645
@justinrocky6645 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zZhooGL-Ew.html
@theway5258
@theway5258 4 года назад
Thank you Oliver! Would you mind to add more examples of the expert SQL level, please?
@JamesOliver
@JamesOliver 4 года назад
The Way sure!
@leodigiacomo
@leodigiacomo Год назад
Hi James, do you have any recommendation for courses (free or paid) on backend SQL Development?
@Helloimtheshiieet
@Helloimtheshiieet Год назад
1) this isn’t expert level at all 2) if this is expert level I’m on god mode tier
@codyhayes2121
@codyhayes2121 2 года назад
I feel like Amy Albert actually is real.
@Irina_M1989
@Irina_M1989 4 года назад
clear and to the point explanations with easy to understand examples. Thanks!
@chandramouli1993
@chandramouli1993 2 года назад
Could you help with writing a query to find the total sales of employees reporting to each employee? Emp_Id Total sales of employees reporting to Emp_Id
@sinvalfelisberto
@sinvalfelisberto Год назад
Thank you kindly! Greetings from Brazil!
@johndimartino4453
@johndimartino4453 3 года назад
Thanks for the videos. I'mportant information for sure.
@sunilsingh-ji8iz
@sunilsingh-ji8iz 5 лет назад
Thanks a lot for this video
@AnthonyDev
@AnthonyDev 3 года назад
Thanks, man. Great videos, I'm recycling my sql skills.
@gracehe9792
@gracehe9792 4 года назад
Thanks James. It's a helpful video. Looking forward to more of them in your channel.
@medhannioui1167
@medhannioui1167 3 года назад
where can I download the datasets?
@DatzAdam
@DatzAdam 4 года назад
I don't like you Ken Sanchez, James Oliver is the only NULL I want
@JamesOliver
@JamesOliver 4 года назад
:)
@Ramreddy-kq5or
@Ramreddy-kq5or 4 года назад
Love you bro :)
@JamesOliver
@JamesOliver 4 года назад
Haha appreciate it :)
Далее
Stop Using Inner Joins!
4:12
Просмотров 11 тыс.
Master SQL like a Pro in 20 Minutes
21:12
Просмотров 26 тыс.
Я ИДЕАЛЬНО ПОЮ
00:31
Просмотров 476 тыс.
Advanced SQL Tutorial
11:25
Просмотров 103 тыс.
Watch Brent Tune Queries - SQLSaturday Oslo
1:01:54
Просмотров 45 тыс.
Beginner to T-SQL [Full Course]
2:45:54
Просмотров 313 тыс.
SQL Unpivot and more
14:45
Просмотров 13 тыс.
SQL Tutorial for Beginners [Full Course]
3:10:19
Просмотров 11 млн
Я ИДЕАЛЬНО ПОЮ
00:31
Просмотров 476 тыс.