> Here are the two tables. > > create table marathon_login ( > marathon_id NUMBER Primary Key, > marathon_date_added date, > marathon_fname VARCHAR2(100), > marathon_lname VARCHAR2(100), > marathon_email VARCHAR2(100), > marathon_type VARCHAR2(100) > ) > > create table marathon_entries ( > marathon_id NUMBER REFERENCES marathon_login(marathon_id), > marathon_date_added date, > marathon_type VARCHAR2(100) REFERENCES > marathon_login(marathon_type), > marathon_data_date date, > marathon_entry VARCHAR2(10) > ) > > btw, any other comments on these tables or their structure is > welcome. I'm pretty new to all this.
You don't need to have marathon_entries.marathon_type - you already reference the marathon_login table using its primary key. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184292 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

