Unlock the full course today
Join today to access over 15,000 courses taught by industry experts or purchase this course individually.
SQLite is a powerful embedded database engine that's a core storage technology in Android and iOS applications. In this installment of the Database Clinic series—in which experts and their databases of choice are pitted against a series of the same challenges— Mark Niemann-Ross demonstrates how to leverage SQLite to solve common database problems. After providing a brief overview of the strengths and weaknesses of SQLite, Mark explains how to create a database and populate it using a public dataset. He also shows how to use a SQLite database with programming languages such as Python and R, handle subqueries and queries in SQLite, and more.
Science fiction author and educator at LinkedIn learning
Mark Niemann-Ross is a technologist with experience in hardware, software, and science fiction.
Mark has been helping developers navigate APIs for almost 30 years, and has been responsible for third-party programs at Quark and Adobe. In addition to hands-on technology, he's also been involved in technology education, starting with a degree in industrial education and most recently working as a content manager for LinkedIn Learning.
Mark's science fiction has most recently appeared in Analog Science Fiction and Fact. He's currently working on a murder mystery solved by a refrigerator.
- Mark Niemann-Ross is a technologist with experience in hardware, software, and science fiction.
Skills covered in this course
- [Instructor] The Python scripts that we're going to use for this challenge assume that A Midsummers Nights Dream.txt and Characters.txt are located in the exercise files folder, next to the Python scripts. If that's not the case with your installation, you'll need to add them. Creation of an SQLite database and tables is simple, and the Python script reflects that simplicity. It only takes 64 lines of code, most of which are comments or related to timing. I've opened the script in Python IDLE, a very basic Python development environment. I'm going to run the script, we'll take a look at the results, and then I'll come back and explain the highlights of that script for you. So to run the script, I go to Python, run, run module. Python runs and immediately returns back a cursor, which means that it's executed successfully. We could take a look at what actually happened by looking in the exercise files folder, and we find that there is shakespear.sqlite, which is the database that was…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Download the exercise files for this course. Get started with a free trial today.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Watch this course anytime, anywhere. Get started with a free trial today.