Solving Complex SQL Query from HackerRank | SQL Interview Query

  Рет қаралды 80,837

techTFQ

techTFQ

Күн бұрын

Пікірлер: 176
@vishwanath-ts
@vishwanath-ts 2 жыл бұрын
The way you explained everything in detail I subscribed immediately. This is how SQL need to be taught
@techTFQ
@techTFQ 2 жыл бұрын
Thank you :)
@jatintiwari5555
@jatintiwari5555 4 ай бұрын
Eular problem is a SQL problem
@SwethaNandyala-sf9lt
@SwethaNandyala-sf9lt Жыл бұрын
I was struggling with the recursive queries concept u made it so easy to undestand...and with that i was able to solve the question very easily
@alishakumari3663
@alishakumari3663 Жыл бұрын
I have seen many solution of this question. But finally my search comes to an end i understand each and every thing crystal clear.
@markobondaruk4213
@markobondaruk4213 2 жыл бұрын
I love the way how you splitting tasks, that really make sense and helps to organise things in your head. Thank you for the video.
@techTFQ
@techTFQ 2 жыл бұрын
very glad to hear that :)
@hilarylomotey7051
@hilarylomotey7051 2 жыл бұрын
The best SQL teacher ever, awesome man , u rock too much
@techTFQ
@techTFQ 2 жыл бұрын
Thank you so much :)
@mateuszsmendowski2677
@mateuszsmendowski2677 2 жыл бұрын
Great explanation and awesome practical example that distinctly illustrates the purpose of recursive sql queries!
@techTFQ
@techTFQ 2 жыл бұрын
Glad you liked it
@yogeshmishra261
@yogeshmishra261 2 жыл бұрын
Hi Taufiq, Your way of explanation on how to solve complex sql problems is real good and easy to understand. Also, i liked that you started with basic syntax of recursive cte for evryone to understand. I will be trying to use your way of deduction in my projects going forward. Thanks and keep going.
@techTFQ
@techTFQ 2 жыл бұрын
Thank you :) Very glad to read this
@simranagichani4943
@simranagichani4943 Жыл бұрын
Great simplification of such a complex problem and also thank you for adding the error in hackerrank, even I faced that and was confused initially whether to consider this solution or not. But thanks for clarifying that this might be an issue with the SQL version used in hackerrank
@mohammedshahil4898
@mohammedshahil4898 2 жыл бұрын
Love your these kind of videos where you show us how to solve a complex sql query👌Thanks a lot for such amazing videos🙌🏻🙏
@techTFQ
@techTFQ 2 жыл бұрын
Glad you like it bro 😍
@firdosesyed8981
@firdosesyed8981 2 жыл бұрын
Hello Sir I'm a new learner tumhare classes bohot ache hin sir. Mai new se start kari hun SQL and ur classes r helping me a lot to become Power BI developer need SQL mandatory hai na so I'm learning from scratch thank you so much😊 for such a beautiful classes
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome Firdose 🙏🏼 Sunke acha laga 👍
@srinivasv3282
@srinivasv3282 2 жыл бұрын
Thank you so much.. I was looking for this from some time now. Your style of explanation is awesome. Keep up the good work.
@qurdedu4032
@qurdedu4032 2 жыл бұрын
Another awesome content from Tofig, Thank you so much. Clicked too much the liked button and it’s broken now. 😂😂😂😂
@techTFQ
@techTFQ 2 жыл бұрын
haha Thank you bro :)
@Anonymous-le2zr
@Anonymous-le2zr 2 жыл бұрын
Hello Thoufiq, Can you please make a video on SQL Query optimization? What things to be considered before writing query or how we can rewrite existing query for better execution time ? Please just consider query structure only (Not the changes on DB side like defining correct DataTypes, Indexes etc) Thanks a lot in advance ☺️
@techTFQ
@techTFQ 2 жыл бұрын
Good suggestion, ill consider it
@data-dynamo-guy
@data-dynamo-guy Жыл бұрын
I am very grateful for what you did in this video. Wish your channel grow more !
@dheerajlakkakula5983
@dheerajlakkakula5983 2 жыл бұрын
Hii sir, Actually i came across this query while practicing ,but i didn't get the correct answer ,Now i understood.Thank you so much sir..
@techTFQ
@techTFQ 2 жыл бұрын
Glad to hear that Dheeraj
@laurak5196
@laurak5196 2 жыл бұрын
Thoufiq I just wanted to say hi, and congratulations……SO close to 100K, way to go, friend!!
@techTFQ
@techTFQ 2 жыл бұрын
Thank you Laura ☺️ Very happy to see your comment.. I hope things are going good for you.
@supriya1316
@supriya1316 2 жыл бұрын
Wow... You made this video... I was facing problem with this question!
@techTFQ
@techTFQ 2 жыл бұрын
Glad I could help!
@deepikavickraman505
@deepikavickraman505 Жыл бұрын
Very nice explanation and learnt recursive sql query 👌
@1112electronics
@1112electronics 2 жыл бұрын
Thanks for the great video on SQL you always producing.... awesome..please keep it up.
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome. happy to know it helps
@ganeshgaitonde5971
@ganeshgaitonde5971 Жыл бұрын
thank you so much sir 🥰😍 ............it Helped me a lot to understand concepts of SQL more deeply🌹🌷🌼
@raktimmazumdar5794
@raktimmazumdar5794 4 ай бұрын
You are a lifesaver.
@pablogalindo2089
@pablogalindo2089 2 жыл бұрын
This was an incredible explanation! Thank you so much!
@malateshhkulkarni4800
@malateshhkulkarni4800 2 жыл бұрын
Thank you sir..i don't know if anyone can better explain this..👌
@techTFQ
@techTFQ 2 жыл бұрын
Thank you bro :)
@nehalahmad5678
@nehalahmad5678 2 жыл бұрын
Just loved it the way you explain....Plz make a video on REGEXP in Oracle DB ... Thanks Taufeeq
@techTFQ
@techTFQ 2 жыл бұрын
glad you liked it and noted on the request
@VipinSingh-gz6pz
@VipinSingh-gz6pz 9 ай бұрын
Thank you very much for explaining. There is one problem, when i run the solution on sample data in sql-workbench on my computer, it works fine but when i submit the same solution on hackerrank it show error
@bnatara
@bnatara 2 жыл бұрын
You are doing a great job!!!
@vivekmahadevan9838
@vivekmahadevan9838 2 жыл бұрын
Interesting problem and good example on how to use recursion. Can you please share the query to create the tables required for this problem?
@techTFQ
@techTFQ 2 жыл бұрын
Thank you :) and will share after few days
@vivekmahadevan9838
@vivekmahadevan9838 2 жыл бұрын
@@techTFQ, can you please share the query to create tables for this problem?
@techTFQ
@techTFQ 2 жыл бұрын
Have created a blog where I have provided the scripts.. you can download it from there. Link below: techtfq.com/blog/solving-complex-sql-query-from-hackerrank
@prernaaneja3941
@prernaaneja3941 6 ай бұрын
Thanks, this was very helpful.
@DarkWebX-f
@DarkWebX-f Жыл бұрын
when was the next batch started ?
@adrianusqueiroz
@adrianusqueiroz 2 жыл бұрын
Hi Taufiq, Is not possible to use COUNT(DISTINCT hacker_id) and use unbounded and preceding rows? Does it solve column2 problem?
7 ай бұрын
Range between starting row and unbounded following you mean ? That was also my intuition
@tejaspatil3978
@tejaspatil3978 2 жыл бұрын
hey, plz make the video on youtube scraping data and store it in sql using python and beautifulsoup
@muneess2979
@muneess2979 2 жыл бұрын
How to use if condition in with clause along with recursive.. Can u give me an example
@kolisettysasiram7732
@kolisettysasiram7732 2 жыл бұрын
with recursive cte as (select submission_date, hacker_id from submissions where submission_date = (select min(submission_date) from submissions) union select s.submission_date, s.hacker_id from submissions s where s.hacker_id is in (select hacker_id from cte)) Is it crct ?
@kancharalaparameshwarreddy3837
@kancharalaparameshwarreddy3837 2 жыл бұрын
Thanking you sir for more information
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome bro
@freudsilver3097
@freudsilver3097 Жыл бұрын
The recursive cte code is not working on hackerrank on this problem, i am not sure why. I used recursive cte in primary numbers question but its not working on this one.
@anburenganathan8369
@anburenganathan8369 2 жыл бұрын
more clarity on my question is for 3rd iteration. what will be the cte.submission_date . wheather is 2nd iteration submission date or base query remains same.
@techTFQ
@techTFQ 2 жыл бұрын
base query just executes once (the first iteration). After that from 2nd iteration, only the recursive part of the query executes (the query below the UNION operator). During 2nd iteration, output from 1st iteration will be passed. During 3rd iteration, output from 2nd iteration will be passed. During 4th iteration, output from 3rd iteration will be passed and so on. I would recommend watching my recursive sql queries tutorial video for complete understanding.
@anburenganathan8369
@anburenganathan8369 2 жыл бұрын
@@techTFQ Thanks thoufig for the clarification.. Now am cleared
@santoshmhamunkar2256
@santoshmhamunkar2256 Жыл бұрын
"WITH recursive" clause works in Oracle?
@sateeshkumar-d9r
@sateeshkumar-d9r 11 ай бұрын
Hi Thoufiq Bhai, Please explain and make a other video to write instead of RECURSIVE function? I mean without using Recursive function.
@enjoyfriends873
@enjoyfriends873 8 ай бұрын
Thank you 😅 second part was the one which i could not able to implement. Now got some idea will implement it. First part i did with dense rank and inner join got output of first part 😂
@anburenganathan8369
@anburenganathan8369 2 жыл бұрын
Hi Thoufig.. Thanks for the video.. i have one question ..how it would check for 3rd iteration, whether base query always remain the same date or it will change for every iteration. if the base query remains same how it would return 3rd day(2016-03-03) for the condition (submission_date > cte.submission_date)
@ckarkhan
@ckarkhan 10 ай бұрын
I think you need to watch Thoufiq's video on recursive CTEs. In summary, first iteration is the base query execution. Just once. Second iteration is the recursive part of the CTE with input from the first iteration query. Third and all subsequent iterations run the recursive query with input from the 'prior' iteration of the recursive query. This is how the 'loop' iterates until it hits the termination condition in the WHERE clause or the JOIN clause if present. Feel free to correct me if I have missed anything in the flow.
@quickfireuk
@quickfireuk 2 жыл бұрын
Hi sir, what ide are you using postgreSql editor, thank you for the video
@techTFQ
@techTFQ 2 жыл бұрын
I use PgAdmin
@quickfireuk
@quickfireuk 2 жыл бұрын
@@techTFQ Thanks for the update
@Explorecommonman-je6vu
@Explorecommonman-je6vu 11 ай бұрын
TFQ Bhai, Would you please create a video on Hacker scenario with out using Recursive function. Since I couldn't do it. Please help me on this video hackerrank scenario.
@lakshmanp6256
@lakshmanp6256 2 жыл бұрын
Sir can you please make a video on masking middle 4 values of phone number with letter x so it's like 978xxxx345 be in output
@techTFQ
@techTFQ 2 жыл бұрын
Let me consider it
@sateeshkumar-d9r
@sateeshkumar-d9r Жыл бұрын
Hello Thoufiq, Do we have other way to write instead of RECURSIVE function? Please let me know, how can we write it in alternative way to get same results.
@abhimanyutiwari100
@abhimanyutiwari100 2 жыл бұрын
Hi Toufiq, can you make a video on the current industry salary for data analyst acc to exp in India?
@techTFQ
@techTFQ 2 жыл бұрын
may be in the future bro.. salary varies from company to company so difficult to predict
@abhimanyutiwari100
@abhimanyutiwari100 2 жыл бұрын
@@techTFQ sure toufiq.
@fathimafarahna2633
@fathimafarahna2633 2 жыл бұрын
Fabulous ❤❤❤
@techTFQ
@techTFQ 2 жыл бұрын
Thank you ☺️
@homelessguy4143
@homelessguy4143 2 жыл бұрын
You are the best
@techTFQ
@techTFQ 2 жыл бұрын
thank you buddy
@muneess2979
@muneess2979 2 жыл бұрын
How to make bulk insert brother?
@macdemon3486
@macdemon3486 2 жыл бұрын
Brilliant!!
@techTFQ
@techTFQ 2 жыл бұрын
Thank you 🙏🏼
@CesarGarciaJara
@CesarGarciaJara 2 жыл бұрын
Thanks a lot for your video. 👍🏼
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome, hope you liked it
@maheshsharma-zq2uc
@maheshsharma-zq2uc 2 жыл бұрын
Hi any idea how to get minimum and maximum value together for particular month
@shreeratan567
@shreeratan567 2 жыл бұрын
Bro there is a youtube Telugu channel which focuses on it manager vs employee differences which uses your name as scolding
@techTFQ
@techTFQ 2 жыл бұрын
Haha is it which channel n video
@shreeratan567
@shreeratan567 2 жыл бұрын
@@techTFQ Sai Kiran yediya
@ShivamTiwari-on2kl
@ShivamTiwari-on2kl Жыл бұрын
Hey Taufiq, you were not supposed to use CTE for this particular problem. You have to use only subqueries and joins
@avinash7003
@avinash7003 2 жыл бұрын
how to write in oracle?
@santoshmhamunkar2256
@santoshmhamunkar2256 Жыл бұрын
please help me in clearing my doubt .... In Oracle , there is not keyword as "recursive" , right sir?
@cojocarudan8018
@cojocarudan8018 2 жыл бұрын
It doesn't work queries with 'with' clause in hackerrank, and you must type subquery in subquery in subquery.. to work. Other people have this problem on platform.
@sharukhbilal5710
@sharukhbilal5710 2 жыл бұрын
Hi toufeeq, Can you kindly tell me from where I can learn regular expressions for oracle sql platform
@techTFQ
@techTFQ 2 жыл бұрын
I will probably make a video about it soon
@sateeshkumar-d9r
@sateeshkumar-d9r 11 ай бұрын
Hi Thoufiq Bhai, Please explain and make a other video to write instead of RECURSIVE function? I mean without using Recursive function. In my server RECURSIVE function is NOT working. Please response and provide the alternative suggestions. Please make a video on the same scenario.
@mm.veeresh5204
@mm.veeresh5204 2 жыл бұрын
What is difference between oracle sql, my sql, ms sql server, postgresql
@techTFQ
@techTFQ 2 жыл бұрын
they are 4 different RDBMS
@mm.veeresh5204
@mm.veeresh5204 2 жыл бұрын
@@techTFQ which is the best
@techTFQ
@techTFQ 2 жыл бұрын
All are good ..
@MyKidsFunChannel
@MyKidsFunChannel 2 жыл бұрын
Hi sir, to attend for interview your sql videos enough or not
@sujaa1000
@sujaa1000 11 ай бұрын
In oracle SQL I am getting error "ORA-32044: cycle detected while executing recursive WITH query"
@RajeevKumar-st5hr
@RajeevKumar-st5hr 2 жыл бұрын
Hello sir, currently I am using dynamic query. Query has set of multiple queries and all queries combined by union all. At end execute appended queries. I am getting error. What is the limitations of union all in dynamic queries?
@cryptoskool7322
@cryptoskool7322 2 жыл бұрын
Hi can you make a query to get data of table from 16th of last month to end of month if query is hitted on 1 of current month and if we hit the same query on 16 th of current month we got the data of curr month from 1 to 15 . The constrains is only have to make one query for this + query must be independent of year
@rohitmeshram4493
@rohitmeshram4493 2 жыл бұрын
Hello sir, Is it mandatory to practice tricky query for data analysis role?
@CassStevens
@CassStevens Жыл бұрын
How is frank the correct output for day 5 when he didn't submit on day 2? or is the max number of submission not bound by the same 'every 1 consecutive days' requirement?
@chrisc.4144
@chrisc.4144 Жыл бұрын
As you said, max submissions isn't related to hackers who submitted as least once every day.
@kardiiobi321
@kardiiobi321 Жыл бұрын
hi my brothr i have been foolowing you a lot I am actually new into the data analysis world and I want t ask you a question about sgl is it a very hard language to learn please can someone with my background of no educational like data or coding learn fast and get a dream job
@SantanuRoy-oq2nv
@SantanuRoy-oq2nv Жыл бұрын
Hello Taufiq Sir, without recursive keyword can you try?
@sameerkumardash5795
@sameerkumardash5795 2 жыл бұрын
Where are the materials to download and practice.. U always share them
@techTFQ
@techTFQ 2 жыл бұрын
Haven’t shared this one yet.. probably will share this weekend and update you here
@sameerkumardash5795
@sameerkumardash5795 2 жыл бұрын
Thnx brother.. What u r doing is impressive.. Very inspiring personality.
@techTFQ
@techTFQ 2 жыл бұрын
Thank you 🙏🏼
@tessythomas5704
@tessythomas5704 2 жыл бұрын
Hi Taufiq Can you please let me know when is your next sql batch will start?
@techTFQ
@techTFQ 2 жыл бұрын
Probably early next year.. not finalized yet
@tessythomas5704
@tessythomas5704 2 жыл бұрын
Just want to clarify, I saw one upcoming class on Aug 16th
@techTFQ
@techTFQ 2 жыл бұрын
It’s the ongoing class.. it started on 03rd Aug .. ends on 15th Sep.. you can still join it.. you will get access to the recordings for the missed sessions
@bestcricketbowling9947
@bestcricketbowling9947 2 жыл бұрын
Can u provide ur udemy class link?
@techTFQ
@techTFQ 2 жыл бұрын
I do not have a Udemy course yet
@bestcricketbowling9947
@bestcricketbowling9947 2 жыл бұрын
@@techTFQ plz make one,will be big help in becoming sql master😍
@techTFQ
@techTFQ 2 жыл бұрын
Noted bro, will think abt it
@ameygoesgaming8793
@ameygoesgaming8793 8 ай бұрын
Also for the next query, SELECT sub_date, hacker_id FROM (Select sub_date, hacker_id, ROW_NUM() OVER(partition by sub_date, hacker_id order by hacker_id) FROM submissions) WHERE rn = 1
@ragultamil9993
@ragultamil9993 2 жыл бұрын
Hi, In SQL, how to obtain a validated certificate
@gkr9375
@gkr9375 2 жыл бұрын
Hi Thoufiq, I would like to know when will your next batch will start to learn SQL from beginner to Advance level. Planning to Join the course.
@techTFQ
@techTFQ 2 жыл бұрын
probably early next year
@gkr9375
@gkr9375 2 жыл бұрын
@@techTFQ Next Year /month ?😇
@vartalap08
@vartalap08 2 жыл бұрын
Can you explain the count(1) meaning ??
@matts.4937
@matts.4937 2 жыл бұрын
Hi Taufiq, can you make a course on solving SQL challenges or solving interview questions on lighthall, udemy, or anywhere else?
@Explorecommonman-je6vu
@Explorecommonman-je6vu Жыл бұрын
Hi, Do we have alternative way to write instead of RECURSIVE function? If yes please share me the code please.
@Explorecommonman-je6vu
@Explorecommonman-je6vu Жыл бұрын
Would you please let me know that how write with out using RECURSIVE function with scenario.
@neoistone
@neoistone Жыл бұрын
While watching this video, I noticed an average of 3 to 4 hacker submissions each day. With my server configuration 128 cores, 256 GB of RAM, and 8TB of SSD storage, and considering I receive millions of daily visitors, could you provide an estimate of the time needed to retrieve this amount of data from MySQL?
@abbasmusawis
@abbasmusawis 2 жыл бұрын
Can you please help me to write some queries?
@alisharavika5929
@alisharavika5929 8 ай бұрын
Hi Toufiq, I got error writing this query in Hackerrank, please help
@nikhiljoshi3750
@nikhiljoshi3750 2 жыл бұрын
Hi Taufiq how to get in touch with you, am giving senior level SQL interviews but not able to crack it, need your advice in my case
@bnatara
@bnatara 2 жыл бұрын
I tried this in SQL Server and got stuck in the first part of the problem because "aggregation is not allowed in the recursive part of a recursive common table expression" where I was trying to get the min submission date
@GurrManagement
@GurrManagement Жыл бұрын
Ran into this myself. Instead of the min, I used s.submission_date = dateadd(day,1,cte.submission_date) This should add one day every time it iterates over the base.
@Explorecommonman-je6vu
@Explorecommonman-je6vu 11 ай бұрын
Would you please anyone suggest or write SQL with out using RECURSIVE function with scenario.
@yassirnakkach5171
@yassirnakkach5171 2 жыл бұрын
Hi guys, can anybody share the query that creates the tables required for this exercice so we can test by ourselves? Thanks in advance!
@ameygoesgaming8793
@ameygoesgaming8793 8 ай бұрын
Can't we do...s.submission_date = cte.submission_date + 1 Simple avoiding a subquery
@bk320929
@bk320929 2 жыл бұрын
Thanks a lot for this scenario and solution. I was trying the first part of the problem by making recursive query in Oracle but it isn't working. Please show some light on this. Used query - with CTE (submission_date,hacker_id) as (select distinct submission_date,hacker_id from submissions where submission_date=(select min(submission_date) from submissions) union all select distinct CTE.submission_date,CTE.hacker_id from CTE,submissions S where CTE.hacker_id=S.hacker_id and S.submission_date=(select min(submission_date) from submissions where submission_date>CTE.submission_date) ) select * from CTE;
@johnbarrow8433
@johnbarrow8433 2 жыл бұрын
It doesn't work in SQL Server either. The recursive part will not allow GROUP clauses (i.e. min()) in the SELECT. Also the DISTINCT clause is not allowed in the recursive part. PostgreSQL seems to be a lot more lenient and from the examples appears to rely on UNION to be applied to the recursive iteration as removes the second "79722 for 2016-03-02".
@johnbarrow8433
@johnbarrow8433 2 жыл бұрын
I now have the solution working for MS SQL Server and have posted below the solution to the first part. As it doesn't rely on grouping, something similar should work in Oracle as well. Note that I have renamed some of the columns slightly as I prefer the camel case for the naming of columns. WITH dayBoundary (submissionDate, hackerId, dayId) AS ( SELECT submissionDate, hackerId, DENSE_RANK() OVER (ORDER BY submissionDate) FROM hacker.submission GROUP BY submissionDate, hackerId ), previousDay (submissionDate, hackerId, dayId) AS ( SELECT submissionDate, hackerId, dayId FROM dayBoundary WHERE dayId = 1 UNION ALL SELECT nextDay.submissionDate, nextDay.hackerId, nextDay.dayId FROM dayBoundary as nextDay INNER JOIN previousDay AS pd ON nextDay.hackerId = pd.hackerId WHERE nextDay.dayId = pd.dayId + 1 ) -- SELECT * FROM previousDay ORDER BY submissionDate, hackerId; SELECT submissionDate, COUNT(DISTINCT hackerId) FROM previousDay GROUP BY submissionDate This also illustrates an important point regarding the recursive queries, calling 'previousDay' in the recursive part ONLY returns the specific results from the previous iteration, NOT as I originally thought, the UNION of the previous days to date. The first DENSE_RANK query is there as the original query does not mention that the days will be consecutive (although they are in the example) otherwise could avoid the first CTE and use DATEADD(day, 1, pd.submissionDate) in the recursive WHERE clause.
@sbisbin8881
@sbisbin8881 2 жыл бұрын
Can you please do it in ms SQL
@johnbarrow8433
@johnbarrow8433 2 жыл бұрын
Hi, see my reply to Bhargava Kamarapo above for MS SQL solution to the first part. Second half of solution in the video works ok.
@Brownleaf-mi2wr
@Brownleaf-mi2wr Жыл бұрын
Don’t u have hindi/Urdu channel ?? Please make it
@supriya1316
@supriya1316 2 жыл бұрын
Can you please upload more videos on hackerrank medium difficulty question
@techTFQ
@techTFQ 2 жыл бұрын
I can but can you share with me some SQL problems which you would like me to solve. You can email me those problems. Since I do not personally use hackerrank, I am not aware of many hacker rank problems
@Rajat-Thermite
@Rajat-Thermite 2 жыл бұрын
Where can I make projects??
@techTFQ
@techTFQ 2 жыл бұрын
dint get you
@Rajat-Thermite
@Rajat-Thermite 2 жыл бұрын
@@techTFQ I mean that from where and how can I build some good Data Analytics projects to show them on my resume???
@swamivivekananda-cyclonicm8781
@swamivivekananda-cyclonicm8781 2 жыл бұрын
Happy Teachers Day:)
@techTFQ
@techTFQ 2 жыл бұрын
Thank you so much :)
@MukeshSahu-mn2ps
@MukeshSahu-mn2ps 2 жыл бұрын
your video is not clear, it is covering background. can you please correct it ?
@techTFQ
@techTFQ 2 жыл бұрын
Please wait few mins, it’s still processing HD version.. should get fine in half an hour
@roksig3823
@roksig3823 2 жыл бұрын
Input and output bit confusing. For submission date 2016-03-03 the unique hacker ID is 0 as all are already present in previous submission date’s For 2016-03-04 , unique hacker ID is 1 (44065) as other 3 are already present in previous submission date’s Can anyone clarify me.
@m.s.krishnamurthykitta
@m.s.krishnamurthykitta 2 жыл бұрын
hi sir, i'm very much interested to learn SQL. but i'm unable to afford amount could you please help me to learn in free way...guide me in right direction
@Ganeshay-09
@Ganeshay-09 2 жыл бұрын
How Should i join..
@techTFQ
@techTFQ 2 жыл бұрын
click on the link given in video description or just go to my website techtfq.com for all details
@yaroslavpanych2067
@yaroslavpanych2067 2 жыл бұрын
Having said that: "print total number of unique hackers that made at least 1 subm. each day" this is tacks that assumes output will be SINGLE NUMBER - number of hackers that was active each day. I do not see that as expected answer in resultsets. My conclusion is simple: do not waste time on such kinds of competitions. This is an example of tasks that you should NEVER EVER do. End of conversation.
@TheMemon40
@TheMemon40 2 жыл бұрын
Hello i m planning for Exam Iz0-071 oracle sql certification, do you have any course that can help me pass that exams.. a complete course that can cover entire exam... thanx
@yaroslavpanych2067
@yaroslavpanych2067 2 жыл бұрын
"as he always says" yep, last video I watched, he even did not attempted to understand what was task. He jsut saw input and output data, made about a hundred assumptions about it and made made some solution... yeah...
@udaykumar-tb5kn
@udaykumar-tb5kn 2 жыл бұрын
Can you tell me your course fee?
@ramswaroop5019
@ramswaroop5019 2 жыл бұрын
count(1) as no-of_unique_hackers how does it works
@sairohitkotla5405
@sairohitkotla5405 2 жыл бұрын
Hey Thoufiq, I hope you are doing well. Do you think we can use "count(distinct(hacker_id)" and" group by" to get total number of unique hackers per day.
@techTFQ
@techTFQ 2 жыл бұрын
you also need to consider only the hackers who made submission each day
Solving SQL Interview Queries | Tricky SQL Interview Queries
37:22
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Learn 12 Basic SQL Concepts in 15 Minutes (project files included!)
16:48
Complex SQL Query Breakdown Step By Step
16:52
Database Star
Рет қаралды 18 М.
Hackerrank SQL Solutions | Challenges SQL Hackerrank Intermediate Problem
17:18
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,1 МЛН