Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära The very first meet with the database | Selecting
SQL Basics
course content

Kursinnehåll

SQL Basics

SQL Basics

1. Selecting
2. Filtering
3. Aggregating
4. Sorting
5. Grouping
6. Practicing

book
The very first meet with the database

Welcome on board! SQL (Structured Query Language) is the programming language used for manipulating and extracting data from databases. Usually, the code used to extract some data is called a query. In this course, you will learn how to build different queries: from the simplest to more complex. Over this course, you will work with the audi_cars database which contains information on price, model, and different characteristics of used Audi cars.

The very first query

The simplest query in SQL looks like a sentence: select something from somewhere. To select all the rows from the database write

12
SELECT * FROM table_name
copy

Please note, that SQL is case-insensitive, i.e. SELECT and select will be equally interpreted by SQL.

Uppgift

Swipe to start coding

Extract all the rows from the audi_cars table.

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
The very first meet with the database

Welcome on board! SQL (Structured Query Language) is the programming language used for manipulating and extracting data from databases. Usually, the code used to extract some data is called a query. In this course, you will learn how to build different queries: from the simplest to more complex. Over this course, you will work with the audi_cars database which contains information on price, model, and different characteristics of used Audi cars.

The very first query

The simplest query in SQL looks like a sentence: select something from somewhere. To select all the rows from the database write

12
SELECT * FROM table_name
copy

Please note, that SQL is case-insensitive, i.e. SELECT and select will be equally interpreted by SQL.

Uppgift

Swipe to start coding

Extract all the rows from the audi_cars table.

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