require sql