Added initial sql queries