Question: Code the following queries in Tuple relational Calculus The following tables include information about terrorists, their organizations, their planned attacks and the terrorists to participate
Code the following queries in Tuple relational Calculus

The following tables include information about terrorists, their organizations, their planned attacks and the terrorists to participate in each attack; a terrorist may be member in more than one organization. Note that tid means terrorist ID, code means attack code, org_name means organization name, sin_fd1 and sin_fd2 represent sin numbers of a person and his/her friend, citizenship is a country Attack(code, city, country, time, day) Participate(tid, code, role) Member(tid.org-name) Terrorist(tid, sin, name, citizenship, age, gender) Organization(name, leader-tid, leader-sin, city, year_started) Friend(sin_fdi, sin_fd2) Code the following five queries in Tuple Relational Calculus: g) Find id's of organizations which have at least one German member? h) Find countries where at least one attack occurred and there is no member in any organization from that country
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
