Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Meet the SQL | Database & Introduction to Syntax
SQL Tutorial for Beginners
course content

Kursinnehåll

SQL Tutorial for Beginners

SQL Tutorial for Beginners

1. Database & Introduction to Syntax
2. SQL Aggregate Functions
3. Filtering Statements

book
Meet the SQL

SQL is a Structured Query Language created for accessing and manipulating data stored in databases. There are different versions of SQL and databases management systems that use SQL such as Microsoft SQL Server, PostgreSQL, MySQL, Oracle, etc.

There may be some specific knowledge needed for each DBMS, but at all, they use SQL with similar syntax. Using SQL, you can:

  • Create, change, delete and manipulate the tables
  • Create, change, delete and manipulate the data
  • Access and retrieve the data (records)
  • Create stored procedures in the database
  • Set permissions for procedures and tables

There is even an extension of SQL that lets you use it as a standard programming language: create variables, loops, if-else statements, and so on.

So let's submit the very first SQL query which shows all the data in the table songs.

Uppgift

Swipe to start coding

Let's practice a bit. Write the next code:

python

Then submit your first SQL query! Read about the SQL SELECT statement in the next chapter.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 1
toggle bottom row

book
Meet the SQL

SQL is a Structured Query Language created for accessing and manipulating data stored in databases. There are different versions of SQL and databases management systems that use SQL such as Microsoft SQL Server, PostgreSQL, MySQL, Oracle, etc.

There may be some specific knowledge needed for each DBMS, but at all, they use SQL with similar syntax. Using SQL, you can:

  • Create, change, delete and manipulate the tables
  • Create, change, delete and manipulate the data
  • Access and retrieve the data (records)
  • Create stored procedures in the database
  • Set permissions for procedures and tables

There is even an extension of SQL that lets you use it as a standard programming language: create variables, loops, if-else statements, and so on.

So let's submit the very first SQL query which shows all the data in the table songs.

Uppgift

Swipe to start coding

Let's practice a bit. Write the next code:

python

Then submit your first SQL query! Read about the SQL SELECT statement in the next chapter.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 1
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt