references sql command