Introduction
LEAD and LAG
FIRST_VALUE, LAST_VALUE, NTH_VALUE
Revision
26. Table advertisement

Instruction

For the purpose of the short quiz, we'll introduce another table: advertisement.

Exercise

Select all the information from the advertisement table.

The owner of the websites decided to try another business model: now, there is a single advertisement on the websites and an auction takes place. Whoever pays the highest price, gets their ad on the websites for a single day. The table is very simple: it only shows how much was paid (price) after the auction on a given date (day).

Console

Code editor

Result

TableConsole