Build url for sql and batch sql inquiry

build_sql_url(middle)

Arguments

middle
the unique part of each individual API call

Value

sql API url