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.
Author of "Stupid Machine" and educator at LinkedIn learningMark 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.
Skills covered in this course
- In this video, I'll show you how to use SQLite to select the correct information, but report in the wrong format. I'll be using DB Browser for SQLite, and I used the database we created for problem one, and have opened it. Let's go take a quick look at that data. And here's the table. You'll notice that it's still called second table, and contains all the columns that we created in problem one. Let's take a look at the SQL that I've written in order to generate the correct information, wrong format. Now this is pretty simple SQL. It's found in the example file searchSolution_1.sql, and that's in the example files. Lines one through seven are just a comment. That's just there to identify what this file is, and to help you understand what we're trying to do. The meat of the SQL is lines 10 through 17, and again this is fairly simple SQL. Lines 10 through 13 set up a select command, and in the report that we create we are going to use three columns, the County Name column, and you can…
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.