Defintly to0 fast for starting one's first program after having watched it. But definitely something which gives you an idea what you can do with SQL and convince you to spend a lot more than 90 minutes to study it. One of the most underrated languages. Enjoyed the show (off)
Note that i have very little experience with SQL so please correct me if I'm wrong The last example with UNION and UNION ALL. Isn't it that UNION ALL is way faster than UNION (for large datasets extraction of duplicates should be very expensive)? If so shouldn't we write this query as: SELECT p_name, t_name FROM people LEFT JOIN things ON p_id = t_owner UNION ALL SELECT null, t_name FROM things WHERE t_owner = null; ?
Chat gpt prompt to generate sample data: Create table people (p_id integer primary key auto_increment, p_name Varchar(255), p_age Integer, p_height FLOAT, p_gender ENUM ('male','female') ); Create table things( t_id int Primary Key auto_increment, t_name varchar (255) Not Null, t_desc Varchar (255), foreign key (t_owner) references people (p_id) ); create table ownership ( o_owner int, o_thing Int, Primary Key (o_owner, o_thing), FOREIGN KEY (O_OWNER) references PEOPLE (P_ID), FOREIGN KEY (O_THING) references THINGS (T_ID) ); can you give me some sample data to insert into the above table? Please also give me person who owns multiple things as well as person who does not own anything.Can you also give me things that are not owned by anyone?
❤❤❤❤ brother please make a voice ordering food app NLP with sqlite Or other database. Auto add data to database with notes. I which we separate items, number, note. Than all calculations. ❤❤❤❤❤❤❤ Please give me some idea
THE ONLY CORRECT WAY TO PRONOUNCE IT IS SEEQUIL ... if you say the individual letters, it makes you sound like a noob. People will litterally refuse to listen to your video if you say S Q L instead of SEEQUIL.
1:22 - PART ONE: CREATE, SELECT, INSERT
25:10 - PART TWO: UPDATE, DELETE, ALTER
34:29 - PART THREE: Constraints
46:10 - PART FOUR: Advanced SQL Queries
58:03 - PART FIVE: Joins & Relationships
1:22:46 - PART SIX: UNION, INTERSECT, EXCEPT
Thanks for this
awesome. spot on. the way you explain even complex stuff in a easy way, shows that you undersand it exactly. loce it!
Right in time for my databases exam🤩
😭i have CS exam in school tomorrow, and SQL is part of the syllabus, what a coincident
All the best btw
@@ashraf_isb:p thanks
Thanks for this, good timing hehe 😀
Defintly to0 fast for starting one's first program after having watched it. But definitely something which gives you an idea what you can do with SQL and convince you to spend a lot more than 90 minutes to study it. One of the most underrated languages. Enjoyed the show (off)
Bro this came perfectly in time for my exams ! Thank you.
Just awesome bro. So compact, and so clear explanations, and so understandable.
love it bro. came at the perfect time
thank you very much for this! helps me refresh my memory for interviews. Bookmarked and subscribed!
Good work. Keep it up💯
NoSQL also please
Note that i have very little experience with SQL so please correct me if I'm wrong
The last example with UNION and UNION ALL. Isn't it that UNION ALL is way faster than UNION (for large datasets extraction of duplicates should be very expensive)?
If so shouldn't we write this query as:
SELECT p_name, t_name FROM people LEFT JOIN things ON p_id = t_owner
UNION ALL
SELECT null, t_name FROM things WHERE t_owner = null;
?
Awesome!
yo ! good teaching
I would have broke it up into two parts one being read focus and the second for write
Chat gpt prompt to generate sample data:
Create table people
(p_id integer primary key auto_increment,
p_name Varchar(255),
p_age Integer,
p_height FLOAT,
p_gender ENUM ('male','female')
);
Create table things(
t_id int Primary Key auto_increment,
t_name varchar (255) Not Null,
t_desc Varchar (255),
foreign key (t_owner) references people (p_id)
);
create table ownership (
o_owner int,
o_thing Int,
Primary Key (o_owner, o_thing),
FOREIGN KEY (O_OWNER) references PEOPLE (P_ID),
FOREIGN KEY (O_THING) references THINGS (T_ID)
);
can you give me some sample data to insert into the above table?
Please also give me person who owns multiple things as well as person who does not own anything.Can you also give me things that are not owned by anyone?
Nice one
People are still using this?
I am relieved.
My skills are not all outdated. 😅
I have to find an exam to use it though.
❤❤❤❤ brother please make a voice ordering food app NLP with sqlite Or other database.
Auto add data to database with notes.
I which we separate items, number, note.
Than all calculations. ❤❤❤❤❤❤❤
Please give me some idea
THE ONLY CORRECT WAY TO PRONOUNCE IT IS SEEQUIL ... if you say the individual letters, it makes you sound like a noob. People will litterally refuse to listen to your video if you say S Q L instead of SEEQUIL.