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.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 4.17
Meet the SQL
Swipe to show menu
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.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 4.17single