from Req to SQL query done

It wasn't hard at all...