implemented real sql requests to crate server