Quiz: Query Your Database
Test your knowledge on querying the database.
Technical Quiz
1.
Which type of syntax is used to write the following query?
query = "tracks"
|> join(:inner, [t], a in "albums", on: t.album_id == a.id)
|> where([t,a], t.duration > 900)
|> select([t,a], [t.id, t.title, a.title])
A.
keyword
B.
Ecto
C.
macro
D.
pipe
1 / 5
...