Entain India interview question

Write the query to update the records and write the query to select the records by giving few conditions? Variables used in API testing? Different headers in api testing