created sample logic for sql request
fix