CSc 8710 Spring 2007
Homework 1: (Due: January 22, 2007 - Monday)

  1. For each of the following formulas, state if it is satisfiable or not. If satisfiable, give a model with natural numbers as a domain. If not, explain why it is not satisfiable.
  2. Consider the following MAILORDER relational schema describing the data for a mail order company:
    parts(pno,pname,qoh,price,olevel)
    customers(cno,cname,street,zip,phone)
    employees(eno,ename,zip,hdate)
    zipcodes(zip,city)
    orders(ono,cno,eno,received,shipped)
    odetails(ono,pno,qty)
    
    The attribute names are self-explanatory. "qoh" stands for quantity on hand. Specify and execute the following queries using the RA and the DRC interpreters on the MAILORDER database schema.