Use procedure instead sql!