FunctionRacerProblemsRace

Both Conditions

BeginnerSQLSQLite

Return the id of every trade that is a buy (side is buy) at a price below 50. Rows may come in any order.

Example 1

trades
idsymbolsideqtyprice
1KObuy1049.5
2KOsell540.0
3XOMbuy750.0
4XOMbuy212.25
returns
id
1
4

Constraints

Race itor take your time

Write it in your browser, against the clock. The model query, with a note on each piece of it, comes after.

More SQL problems