Complex SQL Query Breakdown Step By Step

  Рет қаралды 17,525

Database Star

Database Star

Күн бұрын

Пікірлер: 32
@baruchben-david4196
@baruchben-david4196 7 ай бұрын
I have to say that your explanations are clear and informative, well-organized. Thank you. You've helped break a difficult subject into bite-sized pieces I can handle.
@DatabaseStar
@DatabaseStar 7 ай бұрын
Thanks very much for the kind words! That’s what I am aiming for with my videos, so it’s good to hear it’s been achieved!
@maxyudin
@maxyudin Жыл бұрын
I'm self-taught in SQL, and I use simple queries because that's all I need to achieve my goals. But I've missed this kind of explanation in my past when I googled tutorials that were faintly intelligible and confusing. Been subscribed for a while now and have watched a couple dozen of your videos. Thanks for your work!
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks for sharing, glad you found my videos helpful!
@kvanniekerk3792
@kvanniekerk3792 Жыл бұрын
Brilliant explanation, thank you. I have recently started getting more invested in understanding data and how SQL works to aid that journey. Complex queries have till now intimidated me, but your explanation made perfect sense and is actually a logical yet simple way to decompose a complex query to its constituent parts. Thank you indeed. I was thinking of using a UML diagram to replace your diagram boxes as then I can see the structure clearer.
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks for the comment! I'm glad you found it helpful. A UML diagram would also be helpful as you suggested.
@WestCoastKop
@WestCoastKop Жыл бұрын
Fantastic tutorial, it's really helpful to understand how to break down the subqueries and visualize each table/column
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks, glad you found it helpful!
@punkyM637
@punkyM637 Жыл бұрын
Thank you for all your videos!! I thoroughly enjoy them
@DatabaseStar
@DatabaseStar Жыл бұрын
No problem, glad you like them!
@oracle_professor
@oracle_professor Жыл бұрын
Excellent work Database Star
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks!
@karthikbala3342
@karthikbala3342 Ай бұрын
The main Summing sum(ss.ts), sum(ss.tas) ... series are of no use as they are grouped by content id and only one content id is there per college_id , like a one to one mapping so there is no 2 content id to get another sum in the main query apart from the summation of total submission or views and the summation. Also the condition sum(ss.ts) 0 ... series is not needed instead we can say ss.ts 0... ... as ts,tas,tv,tuv all already represents sum of total submission or views. Please let me know if my understanding is correct.
@DatabaseStar
@DatabaseStar Ай бұрын
That's a good point! I believe that could work.
@attaullahkhan2504
@attaullahkhan2504 Жыл бұрын
Kindly make more videoa like this... thanks in advance.
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks, sure I can do that.
@kumarmv-lo1rm
@kumarmv-lo1rm Жыл бұрын
I was looking for something like this. This really helps. Thanks. Is it possible to do one with the with clause and unions and joins all together.
@DatabaseStar
@DatabaseStar Жыл бұрын
Glad it's helpful! Sure I can do one with a with clause, unions, and joins.
@patyue5012
@patyue5012 Жыл бұрын
Nice content! Thanks.
@DatabaseStar
@DatabaseStar Жыл бұрын
Glad you like it!
@ai-oo9ls
@ai-oo9ls Жыл бұрын
i just started learning sql, i want to ask when should i use procedure ?
@DatabaseStar
@DatabaseStar Жыл бұрын
I've got another video on using stored procedures on my channel, ("Store procedures are better than raw SQL") which has some more detail, but there are a few advantages: easier design if there are many people or applications accessing a database, better to handle complex logic that can't be done in a regular SQL statement.
@Learn_IT_with_Azizul
@Learn_IT_with_Azizul Жыл бұрын
very important content but sound is so low... plz have a look. ty
@DatabaseStar
@DatabaseStar Жыл бұрын
The sound seems fine in this video when i compare it to other videos on KZbin. My older videos had low sound because my old microphone but this one should be OK.
@rustyspottedcat8885
@rustyspottedcat8885 Жыл бұрын
Its all about ... sets of all sets ... that doesnt contain themselves.
@DatabaseStar
@DatabaseStar Жыл бұрын
That's a good point!
@KUMAR-q3o2q
@KUMAR-q3o2q Жыл бұрын
I have a doubt. I have table with two fields, one field is array in table 1 uID | Contact 2 | 1221,1223 3 | 1123 Now value of 1221 and 1223 are in table Two. I want a query to join table 1 and table 2 using array of field2
@DatabaseStar
@DatabaseStar Жыл бұрын
I'm not sure I fully understand the issue, but I think you could join the two tables together based on common values.
@sabuein
@sabuein Жыл бұрын
Thank you.
@DatabaseStar
@DatabaseStar Жыл бұрын
You're welcome!
@jorso163
@jorso163 Жыл бұрын
Sir,when i am exporting data i couldn't see the ongoing exporting details in Oracle SQL developer like how many rows exporting is going on like this and how to enable this ,please help me
@DatabaseStar
@DatabaseStar Жыл бұрын
I'm not sure why that would be happening. I assume it's something that should happen by default.
When to Use a Subquery in SQL
8:50
Database Star
Рет қаралды 37 М.
Complex SQL Query: Watch Me Write It
15:10
Database Star
Рет қаралды 7 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,6 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 16 МЛН
This Game Is Wild...
00:19
MrBeast
Рет қаралды 185 МЛН
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 204 М.
7 Useful SQL Features You Probably Don’t Know
19:41
Database Star
Рет қаралды 4,9 М.
Approach to Complex SQL Queries
8:33
Database by Doug
Рет қаралды 146 М.
Complex SQL Breakdown (CTEs, Subquery, and More)
22:14
Database Star
Рет қаралды 3,9 М.
7 Mistakes Beginners Make with SQL
10:47
Database Star
Рет қаралды 20 М.
5 Ways to Improve Your SQL Queries
10:04
Kahan Data Solutions
Рет қаралды 94 М.
Expert Level SQL Tutorial
23:27
James Oliver
Рет қаралды 157 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,6 МЛН