中文网站
  Advanced Search
Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

3.3 Database Systems: The Tuple Relational Calculus

1. The tuple relational calculus is a nonprocedural language. (The relational algebra was procedural.) We must provide a formal description of the information desired.

2. A query in the tuple relational calculus is expressed as

{t︱P(t)}

i.e. the set of tuples t for which predicate P is true.

3. We also use the notation

  • t[a] to indicate the value of tuple t on attribute a.
  • t ∈ r to show that tuple t is in relation r.