Add the different database querys