Skip to content

Commit

Permalink
add sql workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
karlderkaefer committed Nov 19, 2023
1 parent 96f6988 commit afb43b6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions sql-basics/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
Welcome to your first step into the world of SQL! In this section, we will introduce you to the basics of databases and SQL.

## What is SQL?

SQL (Structured Query Language) is a standard language for accessing and manipulating databases. With SQL, you can query data, update records, and manage and create database structures.

## What You'll Learn

- What databases are and why they are essential.
- How SQL interacts with databases.
- Setting up your SQL environment for the first time.
Expand All @@ -15,7 +17,9 @@ Let's get started with setting up your SQL environment and exploring some basic


## Viewing Table Structure

To view the structure of the `users` table, use the command:
```sql
PRAGMA table_info(users);
```{{exec}}

```bash
sqlite3 workshop.db "PRAGMA table_info(users);"
```{{exec}}

0 comments on commit afb43b6

Please sign in to comment.