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

Kursusindhold

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.

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 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.

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 1
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt