1:00 - Start of video 1:38 - SQLite tutorial begins 1:45 - Overview of the application to build 2:10 - You need to create a "connection" variable to represent database 2:22 - How and where to store your database 2:38 - Using a filename to store your database 3:47 - Creating a cursor (This allows you to execute sql commands) 4:10 - Creating our table and the .execute() method 4:15 - Creating the Employee table 6:37 - Committing db changes and closing db connection 7:45 - How to add data to db 8:12 - INSERT INTO VALUES() command 8:45 - Query db for the employee we just added 8:50 - Select statement 8:50 - SELECT * FROM employees WHERE LAST='Shafer' 9:35 - .fetchone(), .fetchmany(), .fetchall() 11:12 - Adding another employee to the db and querying employee table 12:19 - Start using the Employee class 14:20 - Adding Python Employee() objects to db 15:55 - Correct way to add Python objects to db 16:01 - Option 1 (db API placeholder via ?) 17:03 - Option 2 (db API placeholder via dictionary keys and values) 22:57 - Prototyping CRUD functions 23:42 - Insert employee function 25:11 - Get employee 26:03 - Update pay function and delete employee function
You really cannot ask for a better tutorial than this. Absolutely fantastic. I like it how Corey pickups up the pace a bit at the end, and also gives us some practical functions, which show you how you'd use this in real life.
This is a 28 minute video in which every minute (or every second in 28:43 to be more precise) has been used on amazing non-BS stuff. Thank you Corey your teaching levels are outstandingly higher than everyone else I've learned something from!
I am usually shocked if the best Python tutorials on, well, anything, can't be found on your page. You are an amazing teacher with great talent. Thank you for all your work.
No book can replace your fantastic videos! For years(embarrassing) I've put all my data into huge arrays because I had horror of databases. With your video, so clear and understandable presented, I will now dive into it.
I had to pause this vid midway to watch your OOP Tutorials 1 and 2. Your videos are consistently well-made that I could bounce off different tutorials and easily integrate them with the current lesson. Kudos!
I am studying computer science in a crazy school where they teach you a little bit of something and give you huge homeworks. You have helped me a lot with this video. Thank you so much!
An excellent video and python/sqlite3 teaching technique which when followed along you end up getting the same result as the coach's. I took it on a STEP-BY-STEP basis and it worked perfectly here. Thank you very much, Corey!
Thank you so much for making my life so much easier, I had no idea you could use triple quotes to write multiple line strings without having to use '/n'. This greatly improved my code's readability. Also, thanks a bunch for all of these free tutorials, they're absolutely fantastic!
Awesome video!! Short, concise & to the point. I never thought learning SQLite would be so much easy and fun with Python. Great Job, Corey!! Keep posting videos like this.
Haven't even watched it yet but I thank you for not making it a combo tutorial with SQL. Too many tutorials have too much going on, thanks for employing the KISS method the way it should be. edit: posting this comment the first time it just said "returned error" how fitting
19:06 I don't remember what its called but you can also use a c insert variables into things.. thing c.execute(f"INSERT INTO employees VALUE ('{emp_2.first}', '{emp_2.last}', '{emp_2.pay}')") the f before the "" is the important bit. print(f"Name: {emp_2.first}") Thanks for the awesome video as well.
I have access to a class conducted by Python professionals that my company paid for. I couldn't do it, I said screw it and I came here, this is so much better.
Mr. Shafer, thank you very much for your tutorial. It's so clear and enlightening. I rewrote one of my script using SQLite to store records and query, which is more efficient than my previous approach (to store data in excel via openpyxl and search cell from the whole worksheet). Much appreciated.
A Nobel prize for Python education!
Corey is the best!
He’s quite magical
No videos?
💯
The Award of "Best sqlite tutorial on TH-cam " goes to Corey Schafer 👏👏👏
1:00 - Start of video
1:38 - SQLite tutorial begins
1:45 - Overview of the application to build
2:10 - You need to create a "connection" variable to represent database
2:22 - How and where to store your database
2:38 - Using a filename to store your database
3:47 - Creating a cursor (This allows you to execute sql commands)
4:10 - Creating our table and the .execute() method
4:15 - Creating the Employee table
6:37 - Committing db changes and closing db connection
7:45 - How to add data to db
8:12 - INSERT INTO VALUES() command
8:45 - Query db for the employee we just added
8:50 - Select statement
8:50 - SELECT * FROM employees WHERE LAST='Shafer'
9:35 - .fetchone(), .fetchmany(), .fetchall()
11:12 - Adding another employee to the db and querying employee table
12:19 - Start using the Employee class
14:20 - Adding Python Employee() objects to db
15:55 - Correct way to add Python objects to db
16:01 - Option 1 (db API placeholder via ?)
17:03 - Option 2 (db API placeholder via dictionary keys and values)
22:57 - Prototyping CRUD functions
23:42 - Insert employee function
25:11 - Get employee
26:03 - Update pay function and delete employee function
god bless you and you family this video is very long
So superheroes do exist !!! ^^^
thank you so much dear for your kindness!!god bless you!!!
Thanks man
You're the best jacob
You had me at "SQLite is actually part of the standard library"!
same I didn't expect that lol
He had me at "hey there, how's it going everybody?"
You really cannot ask for a better tutorial than this. Absolutely fantastic. I like it how Corey pickups up the pace a bit at the end, and also gives us some practical functions, which show you how you'd use this in real life.
This is a 28 minute video in which every minute (or every second in 28:43 to be more precise) has been used on amazing non-BS stuff. Thank you Corey your teaching levels are outstandingly higher than everyone else I've learned something from!
That was exactly any newbie Pythonian could ask ! I feel like I have completed my whole uni semester in 29 minutes. Thanks mate !
I am usually shocked if the best Python tutorials on, well, anything, can't be found on your page. You are an amazing teacher with great talent. Thank you for all your work.
You teach so many things in only 29 minutes, so clear. Voice, image, sound, simplicity, direct to matter. Great! ☑☑☑☑☑
My man teaching not only how to do the basic stuff but also what we can apply on a real world project (security, best practices etc.) you're the best.
No book can replace your fantastic videos! For years(embarrassing) I've put all my data into huge arrays because I had horror of databases. With your video, so clear and understandable presented, I will now dive into it.
You are very clear and your approach is spot on. Keep it up! We need you!
Another outstanding presentation from Corey. One of the VERY BEST teachers on the internet.
I had to pause this vid midway to watch your OOP Tutorials 1 and 2. Your videos are consistently well-made that I could bounce off different tutorials and easily integrate them with the current lesson. Kudos!
5 years later and this was still amazing! Thank you!
DEAR COREY SCHAFER, HOW DO YOU ALWAYS ALWAYS ALWAYS SAVE MY DAY?
thanks again!
I am studying computer science in a crazy school where they teach you a little bit of something and give you huge homeworks. You have helped me a lot with this video. Thank you so much!
I LOVE YOU, finally someone who explains their code and not only code so we can actually understand it. THANK YOU SO MUCH!
Couldn’t understand this topic for the life of me… and you come along and speak clearly and in simple terms and it makes so much sense !
omg i love this, after searching for more than 2 hours i finally found an awesome tutorial
An excellent video and python/sqlite3 teaching technique which when followed along you end up getting the same result as the coach's. I took it on a STEP-BY-STEP basis and it worked perfectly here. Thank you very much, Corey!
Nothing can be better than learning Sqlite3 at 2.30AM without any prior knowladge of SQL !!!!!
lol i can relate! 2:14AM
You are literally better than all professors combined in my entire school. Thank you for this knowledge sir
this is the best sqlite3 tutorial on youtube, the way you explain things are very clear and easy to understand. Great job
Dude is a literal legend, ain't been this amazed in agesss by a tutorial
One of the best tutorials ever. After a long time I wasn't confused on learning something new and wasn't also bored to leave it! AWESOME
Simply one of the best Python tutorials out there, so good it forced me to put my first comment out here :) ... thank you Corey!
Best place to find out about python modules and actually understanding them.
A little floored by how informative your tutorials are. Thanks a lot!
you are the God from pedagogical IT universe, man
Your tutorials are incredible they have seen me grow from a noobie to advanced
Checkout my channel too for some cool Python tutorials
This tutorial is a Gem, seriously.... God Bless You Corey... keep making great stuff mannnn....
Thank you so much for making my life so much easier, I had no idea you could use triple quotes to write multiple line strings without having to use '/n'. This greatly improved my code's readability. Also, thanks a bunch for all of these free tutorials, they're absolutely fantastic!
Awesome video!! Short, concise & to the point. I never thought learning SQLite would be so much easy and fun with Python. Great Job, Corey!! Keep posting videos like this.
Best SQLite tutorial on the internet! I've been searching for days & finally understand it. Thank you
Was looking for a video to help me use SQLITE with Jupyter . I learned a lot with this video , Thanks Mr. Schafer
While True:
Print(" Corey Schafer, YOU ARE MAKING THE WORLD A BETTER PLACE. Thank You Very Much ")
Loved the tutorial, especially the part where you made the functions for performing same SQL operations again and again
Haven't even watched it yet but I thank you for not making it a combo tutorial with SQL. Too many tutorials have too much going on, thanks for employing the KISS method the way it should be.
edit: posting this comment the first time it just said "returned error" how fitting
I love your videos
They do not turn into a big mess like others they get straight to the point like it should be!
You're a hero!
I love the way you explain things.
Thanks a lot
From tunisia ???
19:06 I don't remember what its called but you can also use a c insert variables into things.. thing
c.execute(f"INSERT INTO employees VALUE ('{emp_2.first}', '{emp_2.last}', '{emp_2.pay}')")
the f before the "" is the important bit. print(f"Name: {emp_2.first}")
Thanks for the awesome video as well.
Nooo... we can't it was said. That this method is prone to SQL Injection attacks and won't worki in this case. Those are f-strings.
Great video, I am using Python with SQLite at work and educated myself with Coreys Videos,.. thanks man :)
You are amazing Teacher Corey! Your teaching skills are really appreciative. One of the best videos for python. Thanks you soo much.
Clear choice of words. Your teaching skills are amazing.
Excellent teaching skill. I understand how to mix class tuples and database at the same time. Many thanks.
Me too, excellent explanation.
I have access to a class conducted by Python professionals that my company paid for. I couldn't do it, I said screw it and I came here, this is so much better.
God gifted teaching skills . Wow thank you .
Excellent step by step explanation. Really love the way you have explained. Hoping to watch more of your videos.
So glad I found this video as my first look at SQLite--perfect level of instruction. Hoping to find a bunch more from you.
This one is one of the best tutorials I have gone through.. Thanks Corey !!
Mr. Shafer, thank you very much for your tutorial. It's so clear and enlightening. I rewrote one of my script using SQLite to store records and query, which is more efficient than my previous approach (to store data in excel via openpyxl and search cell from the whole worksheet). Much appreciated.
Excellent. The functions really made it worth while.
Your way of explaining the subject is outstanding!
Very helpful overview! Really helped understand the language and I knew almost nothing before. One small step forward. Thanks!
Thank you! That's precisely what i need to understand the py approach to sqlite3.
all this years and no one told me that there are serverless databases. thank you
A super SQLite-3 jump start video! Thank you again Corey!
Totally fascinating learning video to watch.
Thank you so much Corey for taking the time to explain every detail. You are a blessing, be blessed!!
Wallahi you are the best teacher ever!
Nice video man. Dont stop doing same videos, bcoz we need them.)))
I wasreally wondering how tolearn hard SQLLITE and databases in genreal. You have broke down and make it like chees for me. Thanks Corey
Nice work, buddy. I do not easily subscribe to channels, with the crystal clear demo, i had too.
Super Easy To follow and im 13, great tutorial now i can say i can use sql lite in pychaarm
That's a great video, I'm building a small project for my summer class and SQLite is perfect for it. Thanks!
Wow! It was so precise, informative and all encompassing . I really enjoyed it. Thank you very much.
I liked each of your tutorial I had watched, great works
Wonderful video! Very clear, easy to follow. Very good teaching!
Excellent video. Just the right speed for me.
Thanks.
Thank you very much sir for creating such an informative clear video for sqlite.
I should have reached this video before I accidentally went into thinking I should start with Mysql... Anyway, thanks a lot!!!
Why! Super amazing teaching. I love Corey Schafer's tutorials.
These videos are so well explained and VERY helpful and informative!
Wow, such a detailed explanation! Subscribed!!
This a really good tutorial Corey, thanks for all the workings and explainations.
Excellent tutorial. Everything in one simple video. Thank you so much.
amazing! such clear explanations, best every 30min video!
Wooooow ! Thank you this is exactly what I needed for my new project ! Amazing Video and the explanations are on point !
🖤 You are the best teacher of Python
Glad I found this, it was extremely helpful and clear
As always, to the point and straightforward. Thanks my man!
I liked your explanation. They're clear and detailed. Well done video as a whole sir :)
Great explanation. He goes through everything in detail
Thanks a ton! Just exactly what I was looking for!
This was a great video, very well structured with good sound and visuals.
Fantastic video - really straight forward and informative
Amazing tutorial. Thank you so much Corey
really helpful! Thank you so much. I need a quick straightforward intro and that was great. Highly recommend!
Breaks down things. Finally found a great video.
Thank you so much Corey, really enjoy learning python from you. You are very good at explaining the minutia.
You are a gifted teacher. thankyou.
A very nice and hands on intro. Kudos
awesome tutorial. I just made a few modification to add user input. thank you master :)
Excellent, well-constructed tutorial, very useful for the data science project I'm working on, many thanks man, keep it up. -Ben
Thanks Corey. Yet another awesome tutorial.
This is really good. Just to say well done really enjoyed watching this.
You're amazing! Got a new fan!
Awesome channel, awesome work. Whatever i earn from my programming skills, i owe it to you. 🙌🏿✨
Thanks a lot for this very clear tutorial. Really nice demonstration.