Type SQL, then Shift-Enter. Ctrl-space for more options.
chinook.db
Type SQL, then Shift-Enter. Ctrl-space for more options.
chinook.db
Select customerid AS id, firstname, country
from customers;
chinook.db
select *
from invoices
where billingcity = "Berlin" OR billingcity = "Stuttgart";
chinook.db
select *
from invoices
where billingcountry = "Germany" and billingcity <> "Berlin" ;
chinook.db
select InvoiceDate as Date, CustomerId, Total
from invoices
where Date between '2010-01-01' AND '2012-01-01';
chinook.db
select name, Milliseconds
from tracks
where Milliseconds between 126511 and 205662 or Milliseconds between 299888 and 350111
chinook.db
select FirstName, LastName, Title
from employees
where Title in ('General Manager', 'Sales Manager', 'IT Manager');
chinook.db
select *
from invoices
where billingcountry in ('Germany', 'France', "USA")
chinook.db
select name, unitprice
from tracks
where unitprice = 1.99
chinook.db
--your code goes here
chinook.db
select title, count(title) as numEmployees
from employees
group by title
chinook.db
select billingcountry, sum(total)
from invoices
group by billingcountry
chinook.db
select billingcountry, sum(total) as totalSales
from invoices
group by billingcountry
order by totalSales desc
chinook.db
select name
from artists
order by name asc
chinook.db
select *
from tracks
chinook.db
--your code goes here
chinook.db
select artists.name, albums.title
from artists
inner join albums on artists.artistid = albums.artistid
order by albums.title asc
chinook.db
--your code goes here
chinook.db
Type SQL, then Shift-Enter. Ctrl-space for more options.
chinook.db
--your code goes here
chinook.db
Type SQL, then Shift-Enter. Ctrl-space for more options.
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.