add sql queries and relations