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

bookMeet 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:

SELECT * FROM songs

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

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 1
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Suggested prompts:

Sammanfatta detta kapitel

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 4.17

bookMeet the SQL

Svep för att visa menyn

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:

SELECT * FROM songs

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!

close

Awesome!

Completion rate improved to 4.17
Avsnitt 1. Kapitel 1
single

single

some-alt