Create initial sql queries