Turo interview question

How does web request work and write sql queries