hi, I've written som sql code for setting up the database according to the tables i suggested yesterday. The file is at: http://svnhosting.org:8000/svn/SoftEng/Design/Database/SQL-questions%20041114.txt (SQL-questions 20041114.txt) Have done some commenting for my own sake, marked with: // Just disregard these.. Might need some modifications, especially concerning data types. Until tomorrow then. /Fredrik