SQL-Workshop: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
 
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 5: Zeile 5:
 
|image=Sql.png
 
|image=Sql.png
 
|involved=[[User:anlumo|anlumo]]
 
|involved=[[User:anlumo|anlumo]]
|when=2022-10-02 15:00
+
|when=TBD
 
|where=[[Info_Folder|Metalab]]|[[Hauptraum]]
 
|where=[[Info_Folder|Metalab]]|[[Hauptraum]]
 
|category=Workshop
 
|category=Workshop
Zeile 21: Zeile 21:
 
== Date ==
 
== Date ==
  
2022-10-02 15:00 with open end, 22:00 at the latest
+
A date will be set once there's a critical number of people who want to attend.
  
 
This is a first-time workshop, so [[User:anlumo|anlumo]] has no idea how long it will take.
 
This is a first-time workshop, so [[User:anlumo|anlumo]] has no idea how long it will take.
Zeile 62: Zeile 62:
 
* Ranting why SQL is such a bad idea
 
* Ranting why SQL is such a bad idea
  
== Participants ==
+
== People Interested ==
  
Signing up on this list would be nice but is not required:
+
Adding yourself to this list would be nice but is not required:
  
 +
* pk
 +
* mazzo
 
* Your name could be here!
 
* Your name could be here!
 +
* ..
 +
* ..
 +
 +
Note that the workshop will only happen when there are a sufficient number of people on this list.

Aktuelle Version vom 26. September 2022, 12:57 Uhr

Language: English
Subpages:
SQL-Workshop hat keine Unterseiten.


It's Just a Simple SQL Query
Sql.png
TBD
Metalab
anlumo
Workshop
planning
SQL workshop for beginners
Zuletzt aktualisiert: 26.09.2022


It's Just a Simple SQL Query

SQL databases are everywhere these days. The job of most UI developers (such as anlumo) is abstracting them away to present beautiful interfaces. However, when time is short, sometimes even end users might benefit from running simple SQL queries on databases.

This is a one-day workshop aimed at people with no prior experience to learn the basics of SQL.

Date

A date will be set once there's a critical number of people who want to attend.

This is a first-time workshop, so anlumo has no idea how long it will take.

What is SQL?

SQL is defined in the standard ISO/IEC 9075 and is a description language for inserting and querying data. It is not a programming language. It also doesn't define how data is stored or retrieved under the hood, and it also doesn't define how queries are executed, only the input and output.

So, there are many very different implementations of SQL, such as OracleDB, MySQL, PostgresSQL, MariaDB, sqlite, and Microsoft SQL Server. All of them are slightly incompatible to each other. However, the basic skills transfer easily and so this workshop is applicable to all of them, since the plan doesn't include any features that are specific to any of them.

SQL is so popular that all other databases are defined by what they're not, so they're called nosql-databases. Popular ones are mongoDB, Firebase, Redis, Couchbase, and rocksdb. One important distinction is that while SQL leaves a lot of freedom in implementation, it requires the database to be relational. Nosql databases are free of this restriction.

Requirements for Participation

  • Ability to read and type.
  • A computing device at Metalab running Linux, macOS, or Windows with a keyboard and a screen.
  • Knowledge of English

Workshop will be held in German, unless there's at least one participant who doesn't speak German. Then it will be held in English.

Plan

This is still work in progress.

The plan is to use sqlite so the database is local to the devices and trivial to set up. It supports all of the SQL standard and is just a bit limited with data types, but that's completely adequate for this workshop.

  • Creating tables (with constraints)
  • Inserting data
  • Querying data (this is the major part of the workshop)
  • Deleting data and tables
  • Transactions

Non-Goals

  • Indexes
  • Query optimizations
  • Permissions (not supported by sqlite anyways)
  • Stored procedures
  • Using databases in code
  • Ranting why SQL is such a bad idea

People Interested

Adding yourself to this list would be nice but is not required:

  • pk
  • mazzo
  • Your name could be here!
  • ..
  • ..

Note that the workshop will only happen when there are a sufficient number of people on this list.