Database design proposal: analysis /sql queries