For reference I have created sample data, create table employee( first_name varchar(20), last_name varchar(20), age int, salary int, location varchar(20)); insert into employee values('sachin','sharma',28,10000,'Bangalore'); insert into employee values('pavan','sharma',30,10000,'Bangalore'); insert into employee values('rohit','sharma',31,10000,'hydrabad'); insert into employee values('shekar','sharma',32,10000,'Bangalore'); insert into employee values('Rahul','sharma',33,10000,'hydrabad'); insert into employee values('saurabh','sharma',30,10000,'pune'); insert into employee values('kapil','dev',28,10000,'pune');
The exact SQL that has all of Sumit's data and correct names, salary and ages, and exact column names used in this example: CREATE TABLE employee ( firstname varchar(20), lastname varchar(20), age int, salary int, location varchar(20)); INSERT INTO employee VALUES ('sachin','sharma',28,10000,'bangalore'); INSERT INTO employee VALUES ('shane','warne',30,20000,'bangalore'); INSERT INTO employee VALUES ('rohit','sharma',32,30000,'hyderabad'); INSERT INTO employee VALUES ('shekar','sharma',32,25000,'hyderabad'); INSERT INTO employee VALUES ('rahul','dravid',31,20000,'bangalore'); INSERT INTO employee VALUES ('saurabh','ganguly',32,15000,'pune'); INSERT INTO employee VALUES ('kapil','dev',34,10000,'pune');
@sumitmittal07 sir at 14:36 you said we cannot use non aggregated values with group by but while using group by we need to non aggregated values also na if not we ll get error i was a bit confused on thiss can you please explain
Great session. how many more session will be there in completing the SQL?? am I eligible to face an interview If I have learn everything you have taught so far??
Why so small session as you provide only 2 session a week, I request you to provide one session each day if session are like this much small or create 1 hour session (covering whole topic like WINDOW function in today's session) if 2 session in a week. Thank you
Checkout the Big Data course details here: trendytech.in/?referrer=youtube_sql14
CREATE TABLE employee (
firstname varchar(20),
lastname varchar(20),
age int,
salary int,
location varchar(20)
);
INSERT INTO employee VALUES ('sachin','sharma', 28, 10000,
'bangalore');
INSERT INTO employee VALUES ('shane', 'warne', 30, 20000,
'bangalore');
INSERT INTO employee VALUES ('rohit', 'sharma', 32, 30000,
'hyderabad');
INSERT INTO employee VALUES ('shikhar', 'dhawan', 32,
25000, 'hyderabad');
Thanks Evil for this SQL Script.
Good quality 'structured' learning material is rarely available for free. I can understand the hard work that goes into it.
Thanks for all of it!
For reference I have created sample data,
create table employee(
first_name varchar(20),
last_name varchar(20),
age int,
salary int,
location varchar(20));
insert into employee values('sachin','sharma',28,10000,'Bangalore');
insert into employee values('pavan','sharma',30,10000,'Bangalore');
insert into employee values('rohit','sharma',31,10000,'hydrabad');
insert into employee values('shekar','sharma',32,10000,'Bangalore');
insert into employee values('Rahul','sharma',33,10000,'hydrabad');
insert into employee values('saurabh','sharma',30,10000,'pune');
insert into employee values('kapil','dev',28,10000,'pune');
thanks man
It would be nice if you also include the insert queries along with the videos in the description
Wow!!!,another mind blowing session with ease, Thank you sir...we are learning
7:55 but sir here we are not writing avg(salary) too after group by . Why ?
I definitely learnt something. Thanks.🎉
This was the great concept taught with the benefit of using it..Thank you Sumit !!
The exact SQL that has all of Sumit's data and correct names, salary and ages, and exact column names used in this example:
CREATE TABLE employee (
firstname varchar(20),
lastname varchar(20),
age int,
salary int,
location varchar(20));
INSERT INTO employee VALUES ('sachin','sharma',28,10000,'bangalore');
INSERT INTO employee VALUES ('shane','warne',30,20000,'bangalore');
INSERT INTO employee VALUES ('rohit','sharma',32,30000,'hyderabad');
INSERT INTO employee VALUES ('shekar','sharma',32,25000,'hyderabad');
INSERT INTO employee VALUES ('rahul','dravid',31,20000,'bangalore');
INSERT INTO employee VALUES ('saurabh','ganguly',32,15000,'pune');
INSERT INTO employee VALUES ('kapil','dev',34,10000,'pune');
Crystal clear to me, thanks a lot!
We will also use order by under over clause after partition by because it gives an answer in a sorting manner
Don't know how to thanku for this great explanation 😍😍
Very Nice Sesson, Crystal Clear Session
Thank you so much for such simplified explanation sir
Very helpful 🎉🎉🎉
Good Explanation. Please Provide notes for this session.
Thank you ☺️👏
Amazing crystal clear..... Thanx a lot sir.
I am glad that you liked it
Thanks legend 🙏🏻
@sumitmittal07 sir at 14:36 you said we cannot use non aggregated values with group by but while using group by we need to non aggregated values also na if not we ll get error i was a bit confused on thiss can you please explain
Very Helpful !!
Thank you Samidha
Great session. how many more session will be there in completing the SQL?? am I eligible to face an interview If I have learn everything you have taught so far??
Absolutely.. many more sessions to come.
After setup completion : 2:24
sir before using partition you should have explained it first. so it becomes easy for us to understand the concept behind the query.
Sir please provide all sessions notes, it's more helpful to us
Will upload them shortly
Sir have you covered joins in this series?
Hi sir,
Can you make one video in Date functions and some scenarios?
Why so small session as you provide only 2 session a week, I request you to provide one session each day if session are like this much small or create 1 hour session (covering whole topic like WINDOW function in today's session) if 2 session in a week. Thank you
Hi sir, just wanted to know how many more concepts/lecture videos will be uploaded?
till now 13 i hope..
@@smyphysics that I know, because all are present in playlist.
I am asking about future lectures.
IF YOU PROVIDE THE DATASET AS DOCUMENTS THEN IT WOULD BE GREAT TO COMPARE THE RESULTS
how may i suppose to get the txt file ?
sound very slow
CREATE TABLE employee (
firstname varchar(20),
lastname varchar(20),
age int,
salary int,
location varchar(20)
);
INSERT INTO employee VALUES ('sachin', 'sharma', 28, 10000, 'bangalore');
INSERT INTO employee VALUES ('shane', 'warne', 30, 20000, 'bangalore');
INSERT INTO employee VALUES ('rohit', 'sharma', 32, 30000, 'hyderabad');
INSERT INTO employee VALUES ('shikhar', 'dhawan', 32, 25000, 'hyderabad');
INSERT INTO employee VALUES ('rahul', 'dravid', 31, 20000, 'bangalore');
INSERT INTO employee VALUES ('saurabh', 'ganguly', 32, 15000, 'pune');
INSERT INTO employee VALUES ('kapil', 'dev',34, 10000, 'pune');