/android-basics-kotlin-sql-basics-app

Fundamentals of relational databases and practice running SQL queries with Database Inspector in Android Studio.

Primary LanguageKotlinApache License 2.0Apache-2.0

SQL Basics

This folder contains the source code for the SQL Basics codelab.

Introduction

The SQLBasics project is a single screen app that simply instantiates a Room database. Rather than interacting with the database through Kotlin code, you'll learn the fundamentals of SQL, including writing queries to get data, as well as how to insert and delete from a database.

When the app is running, you'll be able to send SQL commands to the database via Android Studio's Database Inspector.

Pre-requisites

  • Experience navigating an Android Studio Project

Getting Started

  1. Install Android Studio, if you don't already have it.
  2. Download the sample.
  3. Import the sample into Android Studio.
  4. Build and run the sample.