Stated the static method for the SQL code.