The following are the tables and data in the ITCO630_A database: Using the sample database, write the scripts in a file called ITCO630_P3.SQL to create the following views. Remember to include a USES clause at the top of the script file to use the ITCO630_A database. Also include code that checks if the view already […]
Archive for the ‘Database design and optimisation’ Category
Design and implement a database to store personal trainer booking.
January 21st, 2020
Design and implement a database to store personal trainer booking for a gym and client/server software system in Java to interact with the database. The client program should have an intuitive user interface to add, remove and manage bookings. The server program should allow multiple clients connect at the same time and interact with database […]
deductive database system in Datalog
January 15th, 2020
Design a deductive database system in Datalog for the database listed below. For this exercise, assume names uniquely identify one person; also assume that if two parents have children in common (one or more), then they are married. Additionally, if children have common parents then they are siblings. Define rules for grandparent, grandfather, sister and […]