SQLite playground

select
  dense_rank() over w as rank,
  first_name, department.name as dep_name,
  salary
from employee
  join department using(dep_id)
window w as (order by salary desc)
order by rank, emp_id;

SQLite is a library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world.

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

SQLite version:     3.45
sandbox engine:     codapi
sandbox name:       sqlite
allowed commands:   run
in-browser:         via wasi

Usage example:

```sql
select 'Hello, World!' as message;
```

<codapi-snippet sandbox="sqlite" editor="basic">
</codapi-snippet>

Documentation