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
.
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
Takk for tilbakemeldingene dine!
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.17
Meet the SQL
Sveip for å vise menyen
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
.
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
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 4.17single