
Building Tables in SQLite
In this lab, you will master the essentials of building and managing tables in SQLite, a lightweight database engine. Explore data types, create tables with primary keys, apply constraints like NOT NULL and UNIQUE, inspect structures with .schema, and drop tables. Gain hands-on experience using the sqlite3 tool in the LabEx VM environment.
SQLite

Query Specific Data in SQLite
In this challenge, you'll leverage your SQL skills to query specific data within an SQLite database named `treasure.db`. The goal is to retrieve a hidden artifact by crafting a `SELECT` statement that filters results based on the artifact's `id`. You'll connect to the database, write a query to select the `name` column from the `artifacts` table, and use a `WHERE` clause to identify the artifact with an `id` of 2.
SQLite

Filter SQLite Data for IT Department
In this challenge, you'll filter employee data from an SQLite database (`employees.db`) to extract the names of all employees in the IT department. Connect, query with a WHERE clause, and save the results to `result.txt` in `/home/labex/project/`.
SQLite

Build SQLite Database For Contacts
In this challenge, you will build an SQLite database for storing customer contact information. The goal is to design and create a `customers` table within the `customers.db` database, located in the `~/project` directory.
SQLite

Install and Verify SQLite on Linux
In this challenge, you will install SQLite and verify its successful installation and accessibility within a Linux environment. The challenge involves installing SQLite using package management tools, executing the `sqlite3 --version` command in the terminal, and confirming that the output displays a valid SQLite version number.
SQLite

SQLite Window Analytics
In this lab, you will explore SQLite window analytics, focusing on ranking rows and computing running totals. You'll learn how to use window functions to perform calculations across sets of rows that are related to the current row.
SQLite

SQLite View Creation
In this lab, we will explore SQLite view creation, focusing on building complex views, querying through them, updating via updatable views, and removing obsolete views. Learn to simplify queries and control data access with SQLite views.
SQLite

SQLite Trigger Automation
In this lab, you will explore SQLite trigger automation, focusing on creating, validating, and managing triggers. You'll learn how to automatically execute SQL statements in response to update events on a specific table. Create audit logs and manage triggers effectively.
SQLite

SQLite Transaction Handling
In this lab, we will explore SQLite transaction handling, focusing on maintaining data integrity through the use of transactions. We will learn how to begin and commit transactions, rollback on errors, implement savepoints, and confirm data integrity. This ensures ACID properties in SQLite.
SQLite

SQLite Temporary Storage
In this lab, we will explore SQLite temporary storage, focusing on creating and utilizing temporary tables. Temporary tables provide a mechanism for storing intermediate results or data needed only for a short duration within a database connection. The lab guides you through creating, populating, querying, and confirming auto-cleanup.
SQLite

SQLite Table Joining
In this lab, we will explore SQLite table joining techniques, focusing on combining data from multiple related tables. We'll cover INNER JOIN, LEFT JOIN, joining multiple tables, and filtering joined results. Learn to retrieve and combine data efficiently using SQLite.
SQLite

SQLite Subquery Techniques
In this lab, you will explore SQLite subquery techniques to enhance your data retrieval and filtering capabilities. The lab focuses on utilizing subqueries within the `WHERE` clause, embedding them in the `SELECT` statement, building correlated subqueries, and assessing subquery efficiency.
SQLite

SQLite PRAGMA Tuning
In this lab, we will explore SQLite PRAGMA tuning to optimize database performance and reliability. The lab focuses on configuring key aspects of SQLite's behavior through PRAGMA statements. We will configure journal mode, enable foreign key checks, perform integrity checks, and adjust cache size.
SQLite

SQLite JSON Processing
In this lab, you will learn how to process JSON data within SQLite. The lab focuses on storing, extracting, filtering, and updating JSON data within an SQLite database.
SQLite

SQLite Index Optimization
In this lab, you will learn how to optimize SQLite database performance using indexes. The lab guides you through creating single-column indexes to improve query speed, focusing on practical application and analysis. You'll also learn to analyze query plans and drop redundant indexes.
SQLite

SQLite Full-Text Indexing
In this lab, you will learn how to leverage SQLite's FTS5 extension for efficient full-text searching. The lab guides you through creating FTS5 tables, inserting searchable data, executing full-text searches, and optimizing search queries using `MATCH` clauses.
SQLite

SQLite Error Handling
In this lab, you will learn how to effectively handle errors in SQLite databases. The primary focus is on managing constraint violations during `INSERT` operations using the `ON CONFLICT` clause. You'll explore different actions and test error recovery, logging error conditions.
SQLite

SQLite Database Maintenance
In this lab, we will explore SQLite database maintenance techniques to optimize performance and reclaim wasted space. The lab focuses on using the `VACUUM` command, rebuilding indexes, analyzing table statistics, and verifying the impact of these optimizations.
SQLite