2 same sql codes pasted