Пікірлер
@VickyKumar-kw7gn
@VickyKumar-kw7gn Күн бұрын
didi iska notes v share kr do
@dsatechsimplified
@dsatechsimplified 4 сағат бұрын
hii vicky , you can access all notes from here - drive.google.com/drive/folders/1yblj0tGchqxZsh6qsiEb_wxTBcDbMxUs?usp=sharing
@VickyKumar-kw7gn
@VickyKumar-kw7gn 37 минут бұрын
@@dsatechsimplified thank u didi❤
@rahulpal4327
@rahulpal4327 2 күн бұрын
-- Assignment No.2 -- 1. Fetch data From Customer Table where either the customer pincode is among (1245,54321,98765)or the country's name usa. select distinct(pin_code) from customer where country = "USA"; -- 2.fetch Customer_id , customer_name and their emails for customers who live in either the USA or Canada. select customer_id , customer_name , email_id from customer where country in ('USA' , 'Canada'); -- 3. Replace Country Name from UK to United Kingdom in Customer table. select * from customer; update customer set country = 'United Kingdom' where country = 'uk'; -- 4. Remove all Customer Who Lives in Either the Spain or Germany. select * from Customer; delete from customer where country in (spain , Germany); -- 5. Get All Customer who lives at Pincode 12345 in India. select * from customer where pin_Code = '12345' and country = 'India'; -- 6. Get all the Customer whose last is Adams. select * from customer where customer_name like '% Adams'; -- 7. delete all the Customer whose last is Adams. delete from customer where customer_name like '% Adams'; -- 8. delete all the Customer whose last is smith. delete from customer where customer_name like '% smith'; -- 9. fetch all the distnict countries from customer table select distinct(country) from customer; -- 10. Get all customer who lives at pincode 23456. select * from customer where pin_code = 23456;
@rahulpal4327
@rahulpal4327 2 күн бұрын
Question No.7 and 13 Both Same Questions.
@dsatechsimplified
@dsatechsimplified 4 сағат бұрын
Hii rahul , Yes I know. You can create multiple question by yourself for practice purpose .
@kalashborkar3078
@kalashborkar3078 5 күн бұрын
didi , one request from my end that can u take window function question more as much as possible. because is more imp and often asked in interviews. so ,if possible 👃.(ranking related ques.)
@dsatechsimplified
@dsatechsimplified 5 күн бұрын
okay kalash , I'll try to bring questions related to window function
@kalashborkar3078
@kalashborkar3078 6 күн бұрын
when the part 2 will come?
@dsatechsimplified
@dsatechsimplified 5 күн бұрын
Here is Part - 2 -> kzbin.info/www/bejne/nqKlqnumpKqnbac .
@lovegarg5061
@lovegarg5061 7 күн бұрын
Mam please make playlist of TREE DATA STRUCTURE in java Implementation of tree , binary tree, binary search tree, N-ary tree their questions
@dsatechsimplified
@dsatechsimplified 6 күн бұрын
Sure, I'll try to cover these topics once the SQL theory part is finished. I think it will take around 3-4 more videos in this playlist. After that, we'll solve company interview questions, and at the same time, we'll cover these topics.
@lovegarg5061
@lovegarg5061 6 күн бұрын
@@dsatechsimplified thank you mam it helps alot
@diwakardwivedi8031
@diwakardwivedi8031 7 күн бұрын
thank you ma'am, ekdm mast clear ho ja rha ek ek topic, thanks a lot
@dsatechsimplified
@dsatechsimplified 6 күн бұрын
Thank you so much! I'm really happy to hear that everything's making sense. Don't hesitate to reach out if you need any more help. Keep going strong! 🙌
@ketanwadibhasme3638
@ketanwadibhasme3638 8 күн бұрын
Hello ma'am Can you please provide That Notes PPT ?
@dsatechsimplified
@dsatechsimplified 8 күн бұрын
you can access SQL notes from here : drive.google.com/drive/folders/1yblj0tGchqxZsh6qsiEb_wxTBcDbMxUs?usp=sharing
@kalashborkar3078
@kalashborkar3078 9 күн бұрын
I watched 2,3 video's of windows functions from different channels, But here I get simplest explaination. Now I understood the concept Thank uu didi 😊 After you cover all this topics take pratice questions asked in interviews and "project" Also so as to get the better understanding.
@dsatechsimplified
@dsatechsimplified 9 күн бұрын
Thanks, Kalash! I truly appreciate your kind words about my explanation. Once I finish the theory part of SQL, you'll definitely have plenty of questions to explore. Your comments show me that you're actively following these lectures and learning more with each passing day. May you be blessed with even more knowledge and growth!😊
@Vansh-9000
@Vansh-9000 12 күн бұрын
Ma'am foreign key vs join. Qki foreing key b toh two tables ko join krte hai
@dsatechsimplified
@dsatechsimplified 12 күн бұрын
Join is used in query to merge different tables based on our conditions where foreign key is a constraint which is used to tell a table that this column consist a foreign key that is associated with the primary key of another table.
@Vansh-9000
@Vansh-9000 13 күн бұрын
Ma'am great way of explaining ❤
@dsatechsimplified
@dsatechsimplified 12 күн бұрын
Thankyou , Vansh, for your appreciation
@Gamer-Singh
@Gamer-Singh 13 күн бұрын
Thanks for the questions 🙏I am a new subscriber. I have done all question in one time. i am a beginner.
@dsatechsimplified
@dsatechsimplified 13 күн бұрын
Thankyou for subscribing this channel. Congrats for completing all questions in one go . Keep learning SQL and tell me your scores in next assignment
@shariyarpervez4525
@shariyarpervez4525 9 күн бұрын
yeh data set my sql mai kese upload karenge?
@dsatechsimplified
@dsatechsimplified 9 күн бұрын
@@shariyarpervez4525 Open the customer table data file (present in description box ) , copy the code, then create and use a database in MySQL Workbench with commands CREATE DATABASE database_name , USE database_name , and finally paste and execute the copied code.
@Vansh-9000
@Vansh-9000 13 күн бұрын
Mam such a good teaching
@dsatechsimplified
@dsatechsimplified 13 күн бұрын
thankyou so much @Vansh-9000
@professor_DJ_010
@professor_DJ_010 14 күн бұрын
Diii subquery, cte, windows functions ye sab ni karenge kya😪😪😪
@dsatechsimplified
@dsatechsimplified 13 күн бұрын
Ish series m sab topics cover honge . Next Video Window function par hi aaegi.
@kalashborkar3078
@kalashborkar3078 15 күн бұрын
Can u take window functions first?
@dsatechsimplified
@dsatechsimplified 14 күн бұрын
Sure Kalash , I'll cover this topic in my next video.
@dsatechsimplified
@dsatechsimplified 15 күн бұрын
Hello viewers , Please Correct SELF JOIN syntax . It should be 'ON' in place of 'WHERE' . Both Commands will result in same output but different in process. When we use 'ON' with joins, it checks the condition and only connects rows from both tables that meet this condition. But HOW exactly is 'WHERE' result in same output as 'ON'? Initially, the JOIN is performed between the Employee and Manager tables, resulting in a cross join. This means that every row of the Employee table is connected with every row of the Manager table. For example, if the Employee table has 10 rows and the Manager table also has 10 rows, this will result in 10 * 10 = 100 rows. Then, we filter these rows to keep only those where the Employee ID matches the Manager ID, which will reduce the result to 10 rows.
@kalashborkar3078
@kalashborkar3078 15 күн бұрын
why we cant 'on' in place of "where"
@dsatechsimplified
@dsatechsimplified 15 күн бұрын
My Mistake , I actually forgot to add SELF JOIN Syntax slide with ON . Both WHERE and ON will result in same output but different in process. ON get priority in place of WHERE , when we work with sql join. I put the proper explanation in comment and description section . Please go through it .
@kalashborkar3078
@kalashborkar3078 16 күн бұрын
very informative didi. very briefly explained each and everything...
@dsatechsimplified
@dsatechsimplified 16 күн бұрын
Thank you kalash . I tried my best to explain this topic and I'm glad that you like it.
@professor_DJ_010
@professor_DJ_010 16 күн бұрын
Luved the explanation ..pls continue the playlist & upload regular basics ... I am gonna share it in my network
@dsatechsimplified
@dsatechsimplified 16 күн бұрын
Thank you so much 😇
@ankitpurshottam3442
@ankitpurshottam3442 17 күн бұрын
1) select e.employee_id , e.first_name || ' ' || e.last_name as full_name ,e.email ,d.department_name from employees as e left join departments as d on e.department_id = d.department_id ----------------------------------------------------------------------------------------------------- 2) select e.employee_id , e.first_name || ' ' || e.last_name as full_name ,e.email ,j.job_title from employees as e left join jobs as j on e.job_id = j.job_id ----------------------------------------------------------------------------------------------------- 3) select e.first_name, e.employee_id , o.order_name, count(o.order_id) as "total orders" from employees as e left join orders as o ON e.employee_id = o.employee_id group by e.employee_id,e.first_name,o.order_name order by e.first_name ----------------------------------------------------------------------------------------------------- 4) select e.*,count(o.order_id) from employees as e left join orders as o ON e.employee_id = o.employee_id group by e.employee_id HAVING COUNT(o.order_id)>0; select e.*,count(o.order_id) from employees as e left join orders as o on e.employee_id = o.employee_id group by e.employee_id,o.order_id having count(o.order_id)>1 select e.first_name, e.employee_id , o.order_name, count(o.order_id) as "total orders" from employees as e left join orders as o ON e.employee_id = o.employee_id group by e.employee_id,e.first_name,o.order_name order by e.first_name ------------------------------------------------------------------------------------------------------- 5) select d.department_name,count(e.employee_id) as "total employees" from departments as d left join employees as e ON d.department_id = e.department_id group by d.department_name -------------------------------------------------------------------------------------------------------- 6) SELECT e.employee_id, e.first_name, COUNT(o.order_id) AS order_count FROM employees AS e LEFT JOIN orders AS o ON e.employee_id = o.employee_id GROUP BY e.employee_id, e.first_name HAVING COUNT(o.order_id) > 1; ------------------------------------------------------------------------------------------------ 7) select e.first_name,d.department_name,j.job_title from employees as e left join departments as d on e.department_id = d.department_id left join jobs as j on e.job_id = j.job_id where (d.department_name = 'IT' and j.job_title = 'Software Developer') or (d.department_name = 'Sales' and j.job_title = 'Sales Executive') ------------------------------------------------------------------------------------------------- 8) SELECT e.employee_id, e.first_name, COUNT(o.order_id) AS order_count FROM employees AS e LEFT JOIN orders AS o ON e.employee_id = o.employee_id GROUP BY e.employee_id, e.first_name HAVING COUNT(o.order_id) > 1; --------------------------------------------------------------------------------------------------------- 9) SELECT e.first_name, SUM(o.order_price * o.quantity) AS "total price" FROM employees AS e LEFT JOIN orders AS o ON e.employee_id = o.employee_id GROUP BY e.first_name; select e.first_name,sum(order_price * quantity) as "total price" from employees as e left join orders as o ON e.employee_id = o.employee_id group by e.first_name having e.first_name ilike 'linda' select e.*,o.* from employees as e left join orders as o ON e.employee_id = o.employee_id where e.first_name ilike 'linda'
@dsatechsimplified
@dsatechsimplified 16 күн бұрын
Great Job Ankit . Few updates from my side 1 ) e.first_name || ' ' || e.last_name -> Here || does not work in MYSQL . It works properly in PostgreSQL , Oracle , SQLite . To implement this in MYSQL , use CONCAT() function . 2) In ques4 , we only have to find the employees who placed an order not their orders count . You can use here "INNER JOIN " . But you did a great job by solving it in various complex ways. Unexpected but you did solve question 9. I am truly impressed. Keep learning and practice more questions in SQL.
@hanskedekho696
@hanskedekho696 18 күн бұрын
Very good and informative explanation by you all the topics but explain other topic like - procedure, views, window function for complete sql.
@dsatechsimplified
@dsatechsimplified 17 күн бұрын
Thankyou, I will upload these videos soon .
@harshadvirutkar1800
@harshadvirutkar1800 19 күн бұрын
Hello Ma'am. This is Harshal . Hope you are doing great. We as students Love your videos it's a great platform to learn mysql it's a great asset to us as a fresher. We would appreciate if you can share us more assignments question so that it can help us to practice more and more.. once again thanks a lot Ma'am
@yogeshbibve184
@yogeshbibve184 19 күн бұрын
Yes Maam Pls do provide us with the assignments . Its would be a great help to us.
@prasadvirutkar2371
@prasadvirutkar2371 19 күн бұрын
Yes mam Please Do share some Assignment.
@saurabhgohane1822
@saurabhgohane1822 19 күн бұрын
Yess Mam please Provide us with the assignment. It would be great help to uss
@dsatechsimplified
@dsatechsimplified 18 күн бұрын
Thankyou harsh for such a lovely comment. You made my day! I will surely bring more SQL assignments in this series . Working on it , may take some time . Till then solve the uploaded assignment and learn SQL theory.
@yogeshbibve184
@yogeshbibve184 17 күн бұрын
@dsatechsimplified Many thanks for your reply we would appreciate if you can put the queries asap. So that we can learn. More sal problems from u.......
@professor_DJ_010
@professor_DJ_010 19 күн бұрын
luved ur explanation sister , pls continue
@dsatechsimplified
@dsatechsimplified 19 күн бұрын
Thankyou so much brother 🤗
@puspenkr697
@puspenkr697 20 күн бұрын
Thanks for such an informative and efforts you do to help us ☺️
@dsatechsimplified
@dsatechsimplified 20 күн бұрын
Happy to help 😊
@bishalmandal9344
@bishalmandal9344 22 күн бұрын
In your Insert data a error is showing (cannot add or update child row)
@dsatechsimplified
@dsatechsimplified 22 күн бұрын
But It is working fine on my end . Try - Drop all tables if any created and then run the file content again one by one. If you still face this issue connect with me on linkedIn .
@bishalmandal9344
@bishalmandal9344 22 күн бұрын
Got it solved you have mistakenly insert 88 employeeID But total employees are 87 thx your videos help me to find out this error
@kalashborkar3078
@kalashborkar3078 15 күн бұрын
same for me as well , i am doing on pgadmin as we copy the same decription dataset there is an error of auto-increament ,how we can resolved it?
@dsatechsimplified
@dsatechsimplified 15 күн бұрын
​@@kalashborkar3078 Try replacing AUTO_INCREMENT with SERIAL. But I'm not sure whether it works in this case. If don't Please do a Google search, and if you find a solution, drop it in the comments section so it can help others.
@dsatechsimplified
@dsatechsimplified 15 күн бұрын
​@@kalashborkar3078 If you don't find a solution for this, try inserting the ID manually. It will hardly take you 5 minutes.
@siddarajpujari6988
@siddarajpujari6988 22 күн бұрын
Appear Two unavailable videos
@dsatechsimplified
@dsatechsimplified 22 күн бұрын
yeah It was showing because I stopped uploading those videos due to some issue.
@hanskedekho696
@hanskedekho696 23 күн бұрын
Behtreen hai bus all topics cover kariye ,sabhi ko define kariye
@dsatechsimplified
@dsatechsimplified 22 күн бұрын
Thankyou 😊, I'll cover all topics in this series.
@bishalmandal9344
@bishalmandal9344 23 күн бұрын
I got 7 out 10 in 1st and last ques o got confused i did not use distinct function
@dsatechsimplified
@dsatechsimplified 23 күн бұрын
That's great, @bishalmandal9344. Try doing this assignment again after some time and see how many marks you get.
@chandansingh7654
@chandansingh7654 23 күн бұрын
I'm learning SQL for data analyst. I request u please take daily class
@dsatechsimplified
@dsatechsimplified 23 күн бұрын
I actually need some time to prepare the tables and content for the videos. If I focus on taking daily classes, the content quality might suffer. That's why I need at least one day to prepare the content. However, I'll do my best to bring out videos daily or at least on alternate days.
@chandansingh7654
@chandansingh7654 23 күн бұрын
Hello mam
@dsatechsimplified
@dsatechsimplified 23 күн бұрын
Hello chandan singh
@siddarajpujari6988
@siddarajpujari6988 24 күн бұрын
Very informative
@dsatechsimplified
@dsatechsimplified 24 күн бұрын
Thankyou @siddarajpujari6988.
@nandkumardhage
@nandkumardhage 25 күн бұрын
mam, please provides pdf nots..if possible
@dsatechsimplified
@dsatechsimplified 24 күн бұрын
Hii @nandkumardhage , In this video I used one note to explain the concept which is not available. I've PPT note and will upload it soon , then you can access them if you want.
@Rexy1288
@Rexy1288 26 күн бұрын
subscribed cuz i want more questions from sql 👏👏👏
@dsatechsimplified
@dsatechsimplified 25 күн бұрын
Thankyou @Rexy1288 , sure you will get lots of sql practice question.
@Rexy1288
@Rexy1288 26 күн бұрын
👏👏👏👏👏 nice video
@dsatechsimplified
@dsatechsimplified 25 күн бұрын
Thankyou @Rexy1288 😊
@AkashGupta-ef2wm
@AkashGupta-ef2wm 26 күн бұрын
Thank you. Pls keep going.
@dsatechsimplified
@dsatechsimplified 26 күн бұрын
Thankyou Akash Gupta . I will 😊
@mohammadafrid1093
@mohammadafrid1093 27 күн бұрын
last question ki query me aap ne sirf count nikala, but actual me distinct categories id nikalni this naaa?
@dsatechsimplified
@dsatechsimplified 27 күн бұрын
Yes mohammad Afrid , you are right . This question can be solved in 2 ways : 1) In earlier lecture , I've discussed 'SELECT DISTINCT' command which is used to fetch unique result . -> select distinct categoryId from products; 2) Here , I've discussed 'Group By ' command which first group of data according to specified column ( which is categoryId here ) and then return common value in a single result. -> select categoryId from products group by categoryId; I'm really impressed that you completed this assignment with full focus. Keep up the hard work. God bless you.
@mohammadafrid1093
@mohammadafrid1093 27 күн бұрын
@@dsatechsimplified got it, Aap thumbnail pe focus krna thoda , you are doing good , channel grow krega
@dsatechsimplified
@dsatechsimplified 27 күн бұрын
Sure I'll work on it . Thanks for your suggestion :)
@KhanRehan-xk7ot
@KhanRehan-xk7ot 28 күн бұрын
Thanks ma'am, your video or assignment is very helpful for me, I have watched many videos on KZbin but your videos are different from others, keep the video going on ma'am and making more videos and assignments.
@dsatechsimplified
@dsatechsimplified 27 күн бұрын
Thankyou Rehan , this means a lot to me. I'm glad that you like my videos .
@rajivaryan942
@rajivaryan942 28 күн бұрын
❤❤
@Virtualexist
@Virtualexist Ай бұрын
Hamne ans vector ko locally kyu lia? Why did we not pass it by reference or keep it global?
@dsatechsimplified
@dsatechsimplified Ай бұрын
Because in this problem we are considering every subtree as a separate tree which brings a result . That's why we use local ans vector. Try to dry run the code and focus more on understanding the recursive tree behavior.
@Virtualexist
@Virtualexist Ай бұрын
@@dsatechsimplified Yess, I am trying to understand. I got confused that how is the local copy of each function call preserved, then I saw it is being returned after each call. So it gets saved in the left or right whichever is the parent function call originating from.
@Virtualexist
@Virtualexist Ай бұрын
@@dsatechsimplified Thanks a lot for prompt responses! 😇🙏🏼 Best wishes to you for your growth!
@dsatechsimplified
@dsatechsimplified Ай бұрын
thankyou so much
@pranaydardemal3992
@pranaydardemal3992 Ай бұрын
You are good mentor mam
@dsatechsimplified
@dsatechsimplified Ай бұрын
Thank you Pranay. I've always believed that A mentor's success is reflected in the dedication of their students.
@rahulgiribarnawal7993
@rahulgiribarnawal7993 Ай бұрын
Dear Mam, Maine SQL k bahut se Lectures attend kiye but Is platform pe kafi acchha explnation mila with examples and practice session k sath. Ab ise hi continue dekh raha hu. Please keep on going. I personally find it very helpful for me and hope sbko acchhi lage apki lectures. Thanks a lot making video on SQL.
@dsatechsimplified
@dsatechsimplified Ай бұрын
Thank you so much, Rahul, for your appreciation. It means a lot to me.
@dsatechsimplified
@dsatechsimplified Ай бұрын
Alright, guyz, time to flex those brain muscles on the next assignment! Link is here - kzbin.info/www/bejne/d5TFmZSLm9yCm7c
@Virtualexist
@Virtualexist Ай бұрын
How did you think of this? Was it by drawing a recursive tree or you learnt and then implemented or you could come up with this approach?
@dsatechsimplified
@dsatechsimplified Ай бұрын
I practiced quite a lot of questions, which helped me solve this one. But I must say that the recursive tree helped me solve it quite quickly.
@Virtualexist
@Virtualexist Ай бұрын
@@dsatechsimplified Thank you for sharing the insights. Helpful!
@Virtualexist
@Virtualexist Ай бұрын
I envy your handwriting haha! Good explanation.
@dsatechsimplified
@dsatechsimplified Ай бұрын
Thanks , Maybe I should start giving handwriting classes. First lesson - How to make your pen do all your work . Haha!
@Virtualexist
@Virtualexist Ай бұрын
@@dsatechsimplified 😂😂😂 Perfect!
@movieparadise01
@movieparadise01 Ай бұрын
nice
@HamzaKhansafi-p6c
@HamzaKhansafi-p6c Ай бұрын
Great
@2thepoint88
@2thepoint88 Ай бұрын
Excellent job you have done sister may Allah bless you and grant you health wealth and success ameen regards.
@dsatechsimplified
@dsatechsimplified Ай бұрын
Thanks brother for your kind words and prayers . May Allah bless you as well with health, wealth and success. Ameen , regards .
@nandkumardhage
@nandkumardhage Ай бұрын
great teaching style...easy to understand..we want more technology as JS,Html etc..i hope u understand maam..thanks for making leacture
@dsatechsimplified
@dsatechsimplified Ай бұрын
Thank you @nandkumardhage , I'm glad you like my content . I'll try my best to bring valuable content in other tech stack.
@kalamsgayaki5958
@kalamsgayaki5958 Ай бұрын
Will you cover advance SQL like cte functions and subquery and joins and widows function?
@dsatechsimplified
@dsatechsimplified Ай бұрын
Yes, I'll cover all the topics in SQL, but it will take some time as I need to focus on strengthening my student foundation in SQL first.
@madhavjha8965
@madhavjha8965 Ай бұрын
Hi Mam ...Good afternoon Hope you are doing well
@dsatechsimplified
@dsatechsimplified Ай бұрын
Good afternoon, @madhavjha8965. I'm doing well. I hope you are practicing SQL regularly.
@madhavjha8965
@madhavjha8965 Ай бұрын
@@dsatechsimplified yes mam ... watching it
@dsatechsimplified
@dsatechsimplified Ай бұрын
great