317 views
0 votes
0 votes
A database have relation schema Student(s_id,s_name,dept_id) and dept(dep_name,dept_id). Note that the dept_id can be permitted to be null in relation student .consider the following queries on the database expression in tuple relational calclus.

{t| ∃u ∈ student(t[s_name]=u[s_name] ∧ ∀v ∈ DEPT(t[Dept_Id] ≠ v[DeptId]))}

is this expression is safe.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
punit dubey asked Sep 11, 2018
165 views
1 votes
1 votes
2 answers
4
tarunmaganti asked Apr 15, 2018
773 views
If there are three tables to choose from -Sailors(sid,sname); Reserves(sid,bid); Boats(bid,color)Question is to choose a sailor who reserved a red boat.My question is wha...