hii vicky , you can access all notes from here - drive.google.com/drive/folders/1yblj0tGchqxZsh6qsiEb_wxTBcDbMxUs?usp=sharing
@VickyKumar-kw7gn37 минут бұрын
@@dsatechsimplified thank u didi❤
@rahulpal43272 күн бұрын
-- 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;
@rahulpal43272 күн бұрын
Question No.7 and 13 Both Same Questions.
@dsatechsimplified4 сағат бұрын
Hii rahul , Yes I know. You can create multiple question by yourself for practice purpose .
@kalashborkar30785 күн бұрын
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.)
@dsatechsimplified5 күн бұрын
okay kalash , I'll try to bring questions related to window function
@kalashborkar30786 күн бұрын
when the part 2 will come?
@dsatechsimplified5 күн бұрын
Here is Part - 2 -> kzbin.info/www/bejne/nqKlqnumpKqnbac .
@lovegarg50617 күн бұрын
Mam please make playlist of TREE DATA STRUCTURE in java Implementation of tree , binary tree, binary search tree, N-ary tree their questions
@dsatechsimplified6 күн бұрын
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.
@lovegarg50616 күн бұрын
@@dsatechsimplified thank you mam it helps alot
@diwakardwivedi80317 күн бұрын
thank you ma'am, ekdm mast clear ho ja rha ek ek topic, thanks a lot
@dsatechsimplified6 күн бұрын
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! 🙌
@ketanwadibhasme36388 күн бұрын
Hello ma'am Can you please provide That Notes PPT ?
@dsatechsimplified8 күн бұрын
you can access SQL notes from here : drive.google.com/drive/folders/1yblj0tGchqxZsh6qsiEb_wxTBcDbMxUs?usp=sharing
@kalashborkar30789 күн бұрын
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.
@dsatechsimplified9 күн бұрын
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-900012 күн бұрын
Ma'am foreign key vs join. Qki foreing key b toh two tables ko join krte hai
@dsatechsimplified12 күн бұрын
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-900013 күн бұрын
Ma'am great way of explaining ❤
@dsatechsimplified12 күн бұрын
Thankyou , Vansh, for your appreciation
@Gamer-Singh13 күн бұрын
Thanks for the questions 🙏I am a new subscriber. I have done all question in one time. i am a beginner.
@dsatechsimplified13 күн бұрын
Thankyou for subscribing this channel. Congrats for completing all questions in one go . Keep learning SQL and tell me your scores in next assignment
@shariyarpervez45259 күн бұрын
yeh data set my sql mai kese upload karenge?
@dsatechsimplified9 күн бұрын
@@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-900013 күн бұрын
Mam such a good teaching
@dsatechsimplified13 күн бұрын
thankyou so much @Vansh-9000
@professor_DJ_01014 күн бұрын
Diii subquery, cte, windows functions ye sab ni karenge kya😪😪😪
@dsatechsimplified13 күн бұрын
Ish series m sab topics cover honge . Next Video Window function par hi aaegi.
@kalashborkar307815 күн бұрын
Can u take window functions first?
@dsatechsimplified14 күн бұрын
Sure Kalash , I'll cover this topic in my next video.
@dsatechsimplified15 күн бұрын
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.
@kalashborkar307815 күн бұрын
why we cant 'on' in place of "where"
@dsatechsimplified15 күн бұрын
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 .
@kalashborkar307816 күн бұрын
very informative didi. very briefly explained each and everything...
@dsatechsimplified16 күн бұрын
Thank you kalash . I tried my best to explain this topic and I'm glad that you like it.
@professor_DJ_01016 күн бұрын
Luved the explanation ..pls continue the playlist & upload regular basics ... I am gonna share it in my network
@dsatechsimplified16 күн бұрын
Thank you so much 😇
@ankitpurshottam344217 күн бұрын
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'
@dsatechsimplified16 күн бұрын
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.
@hanskedekho69618 күн бұрын
Very good and informative explanation by you all the topics but explain other topic like - procedure, views, window function for complete sql.
@dsatechsimplified17 күн бұрын
Thankyou, I will upload these videos soon .
@harshadvirutkar180019 күн бұрын
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
@yogeshbibve18419 күн бұрын
Yes Maam Pls do provide us with the assignments . Its would be a great help to us.
@prasadvirutkar237119 күн бұрын
Yes mam Please Do share some Assignment.
@saurabhgohane182219 күн бұрын
Yess Mam please Provide us with the assignment. It would be great help to uss
@dsatechsimplified18 күн бұрын
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.
@yogeshbibve18417 күн бұрын
@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_01019 күн бұрын
luved ur explanation sister , pls continue
@dsatechsimplified19 күн бұрын
Thankyou so much brother 🤗
@puspenkr69720 күн бұрын
Thanks for such an informative and efforts you do to help us ☺️
@dsatechsimplified20 күн бұрын
Happy to help 😊
@bishalmandal934422 күн бұрын
In your Insert data a error is showing (cannot add or update child row)
@dsatechsimplified22 күн бұрын
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 .
@bishalmandal934422 күн бұрын
Got it solved you have mistakenly insert 88 employeeID But total employees are 87 thx your videos help me to find out this error
@kalashborkar307815 күн бұрын
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?
@dsatechsimplified15 күн бұрын
@@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.
@dsatechsimplified15 күн бұрын
@@kalashborkar3078 If you don't find a solution for this, try inserting the ID manually. It will hardly take you 5 minutes.
@siddarajpujari698822 күн бұрын
Appear Two unavailable videos
@dsatechsimplified22 күн бұрын
yeah It was showing because I stopped uploading those videos due to some issue.
@hanskedekho69623 күн бұрын
Behtreen hai bus all topics cover kariye ,sabhi ko define kariye
@dsatechsimplified22 күн бұрын
Thankyou 😊, I'll cover all topics in this series.
@bishalmandal934423 күн бұрын
I got 7 out 10 in 1st and last ques o got confused i did not use distinct function
@dsatechsimplified23 күн бұрын
That's great, @bishalmandal9344. Try doing this assignment again after some time and see how many marks you get.
@chandansingh765423 күн бұрын
I'm learning SQL for data analyst. I request u please take daily class
@dsatechsimplified23 күн бұрын
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.
@chandansingh765423 күн бұрын
Hello mam
@dsatechsimplified23 күн бұрын
Hello chandan singh
@siddarajpujari698824 күн бұрын
Very informative
@dsatechsimplified24 күн бұрын
Thankyou @siddarajpujari6988.
@nandkumardhage25 күн бұрын
mam, please provides pdf nots..if possible
@dsatechsimplified24 күн бұрын
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.
@Rexy128826 күн бұрын
subscribed cuz i want more questions from sql 👏👏👏
@dsatechsimplified25 күн бұрын
Thankyou @Rexy1288 , sure you will get lots of sql practice question.
@Rexy128826 күн бұрын
👏👏👏👏👏 nice video
@dsatechsimplified25 күн бұрын
Thankyou @Rexy1288 😊
@AkashGupta-ef2wm26 күн бұрын
Thank you. Pls keep going.
@dsatechsimplified26 күн бұрын
Thankyou Akash Gupta . I will 😊
@mohammadafrid109327 күн бұрын
last question ki query me aap ne sirf count nikala, but actual me distinct categories id nikalni this naaa?
@dsatechsimplified27 күн бұрын
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.
@mohammadafrid109327 күн бұрын
@@dsatechsimplified got it, Aap thumbnail pe focus krna thoda , you are doing good , channel grow krega
@dsatechsimplified27 күн бұрын
Sure I'll work on it . Thanks for your suggestion :)
@KhanRehan-xk7ot28 күн бұрын
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.
@dsatechsimplified27 күн бұрын
Thankyou Rehan , this means a lot to me. I'm glad that you like my videos .
@rajivaryan94228 күн бұрын
❤❤
@VirtualexistАй бұрын
Hamne ans vector ko locally kyu lia? Why did we not pass it by reference or keep it global?
@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Ай бұрын
@@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Ай бұрын
@@dsatechsimplified Thanks a lot for prompt responses! 😇🙏🏼 Best wishes to you for your growth!
@dsatechsimplifiedАй бұрын
thankyou so much
@pranaydardemal3992Ай бұрын
You are good mentor mam
@dsatechsimplifiedАй бұрын
Thank you Pranay. I've always believed that A mentor's success is reflected in the dedication of their students.
@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Ай бұрын
Thank you so much, Rahul, for your appreciation. It means a lot to me.
@dsatechsimplifiedАй бұрын
Alright, guyz, time to flex those brain muscles on the next assignment! Link is here - kzbin.info/www/bejne/d5TFmZSLm9yCm7c
@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Ай бұрын
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Ай бұрын
@@dsatechsimplified Thank you for sharing the insights. Helpful!
@VirtualexistАй бұрын
I envy your handwriting haha! Good explanation.
@dsatechsimplifiedАй бұрын
Thanks , Maybe I should start giving handwriting classes. First lesson - How to make your pen do all your work . Haha!
@VirtualexistАй бұрын
@@dsatechsimplified 😂😂😂 Perfect!
@movieparadise01Ай бұрын
nice
@HamzaKhansafi-p6cАй бұрын
Great
@2thepoint88Ай бұрын
Excellent job you have done sister may Allah bless you and grant you health wealth and success ameen regards.
@dsatechsimplifiedАй бұрын
Thanks brother for your kind words and prayers . May Allah bless you as well with health, wealth and success. Ameen , regards .
@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Ай бұрын
Thank you @nandkumardhage , I'm glad you like my content . I'll try my best to bring valuable content in other tech stack.
@kalamsgayaki5958Ай бұрын
Will you cover advance SQL like cte functions and subquery and joins and widows function?
@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Ай бұрын
Hi Mam ...Good afternoon Hope you are doing well
@dsatechsimplifiedАй бұрын
Good afternoon, @madhavjha8965. I'm doing well. I hope you are practicing SQL regularly.