For declarations, don't forget type bodies when there are methods. Also remember that the slash is needed to cause compilation.
Submit two files: datatypes.sql
and datatypes.log
The first
file should contain SQL statements declaring different data types. The
second file should contain a recording of your sqlplus session showing
successful execution of your SQL statements. Write brief descriptions
of SQL statements as comments in the .sql file. Click
here to learn how to write comments in sqlplus code.
Note that it is possible for one relation to satisfy all these conditions, but it is up to you how many new relations you choose to create. Write INSERT statements to populate your new relations from the data in the original relations of your PDA.
Submit two files: relations.sql
and relations.log
The first
file should contain SQL statements to create and to populate
relations. The second file should contain a recording of your sqlplus
session showing successful compilation of your declarations and
correct execution of your insertion statements. Write brief
descriptions of SQL statements as comments in the .sql file.
Note: Technically, you could write one query to do all of these operations, but we suggest you write a larger number of simpler queries.
Submit two files: queries.sql
and queries.log
The first file should
contain SQL queries over your relations. The second file should
contain a recording of your sqlplus session showing successful
execution of your queries. Write brief descriptions of SQL statements
as comments in the .sql file.