Confusion on how to make this work(sliding with query)

Printable View