<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - Database Design</title>
		<link>http://www.daniweb.com/forums/</link>
		<description><![CDATA[Our Database Design forum is the place for Q&A-style discussions related to general database design and schema. Questions pertaining to non-database-specific SQL can also be asked here. Otherwise, use one of the database-specific forums.]]></description>
		<language>en-US</language>
		<lastBuildDate>Mon, 21 Dec 2009 16:27:01 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - Database Design</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>Newbie Question</title>
			<link>http://www.daniweb.com/forums/thread245759.html</link>
			<pubDate>Sat, 12 Dec 2009 06:55:42 GMT</pubDate>
			<description><![CDATA[So I didn't know where to put this but I had somewhat of a newbie question.  I am trying to create a blog for my friend.  Its going to be a full fledged site and I want to store the blogs and be able to search on them later.  I am thinking an SQL Database would be best but it seems like there are...]]></description>
			<content:encoded><![CDATA[<div>So I didn't know where to put this but I had somewhat of a newbie question.  I am trying to create a blog for my friend.  Its going to be a full fledged site and I want to store the blogs and be able to search on them later.  I am thinking an SQL Database would be best but it seems like there are so many different versions its just hard to get started.  I was thinking SQL Server since I can get a free version on Dreamspark.  I guess my main question is how does this get onto a web server.  When we buy hosting does the hosting company set up the server then I can use php or asp.net modules to populate it?  Once I get started I should be fine its just the getting started part that I need help on.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>chunalt787</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245759.html</guid>
		</item>
		<item>
			<title>DBMS mini project.........</title>
			<link>http://www.daniweb.com/forums/thread245604.html</link>
			<pubDate>Fri, 11 Dec 2009 14:20:34 GMT</pubDate>
			<description><![CDATA[hey guys pls solve my dilemma.i need a *innovative* topic 4 my mini project by monday.front end is *.net* and back end is sql server.am new to all these.i dnt need any thing common like hotel,tourism,library....management.our ma'm din accept any topic till now sayng that its all been done by...]]></description>
			<content:encoded><![CDATA[<div>hey guys pls solve my dilemma.i need a <span style="font-weight:bold"><span style="color:Green">innovative</span></span> topic 4 my mini project by monday.front end is <span style="color:Green"><span style="font-weight:bold"><span style="font-style:italic">.net</span></span></span> and back end is sql server.am new to all these.i dnt need any thing common like hotel,tourism,library....management.our ma'm din accept any topic till now sayng that its all been done by senoirs.so i want a very attractive topic,its k if its difficult.by the way am a 3rd yr in cse.i wil be very thankful if u can help me out..............:S</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>anzcraze</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245604.html</guid>
		</item>
		<item>
			<title>ER from database</title>
			<link>http://www.daniweb.com/forums/thread245213.html</link>
			<pubDate>Thu, 10 Dec 2009 05:32:21 GMT</pubDate>
			<description>I need to automatically generate ER diagrams by giving the database schema. If somebody knows a free and open source tool for that, please tell me.</description>
			<content:encoded><![CDATA[<div>I need to automatically generate ER diagrams by giving the database schema. If somebody knows a free and open source tool for that, please tell me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>isuruj</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245213.html</guid>
		</item>
		<item>
			<title>Database Desing for Tracking Attendance</title>
			<link>http://www.daniweb.com/forums/thread245010.html</link>
			<pubDate>Wed, 09 Dec 2009 12:48:38 GMT</pubDate>
			<description>Hello sir, 
I am creating student attendance tracking system in asp.net. 
With attendance i need to track students attendance every day and want to generate charts with those data. 
Charts for Daily Attendance report, Weekly Report, and monthly Report. 
For this how to design database in msaccess?</description>
			<content:encoded><![CDATA[<div>Hello sir,<br />
I am creating student attendance tracking system in asp.net.<br />
With attendance i need to track students attendance every day and want to generate charts with those data.<br />
Charts for Daily Attendance report, Weekly Report, and monthly Report.<br />
For this how to design database in msaccess?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>bharanidharanit</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245010.html</guid>
		</item>
		<item>
			<title>ERD for tuition school</title>
			<link>http://www.daniweb.com/forums/thread244423.html</link>
			<pubDate>Mon, 07 Dec 2009 15:48:22 GMT</pubDate>
			<description><![CDATA[Hi All 
 
I'm new to this forum and i would be really greatful if I could get some help! 
 
Someone I know has his own tuition school and I must develop a website for him and I dont know lot about anythng to be honest. Not a great programmer or not very good with databases. It is more of a college...]]></description>
			<content:encoded><![CDATA[<div>Hi All<br />
<br />
I'm new to this forum and i would be really greatful if I could get some help!<br />
<br />
Someone I know has his own tuition school and I must develop a website for him and I dont know lot about anythng to be honest. Not a great programmer or not very good with databases. It is more of a college project.<br />
<br />
I'm developing it with PHP and xhtml, css etc.. and using MySql as the database.<br />
<br />
At the moment I am trying to design an Entity Relationship Diagram and im seriously struggling. I will give a description of the functionality of the site and any help would be appreciated.<br />
<br />
<span style="font-weight:bold">Functionality:</span><br />
<br />
The site will have four separate sections. A students section, teachers section, parents section and administrator section.<br />
<br />
Students can first sign up to the College to get their MyCollege privileges. When joining up the student will have to enter such information as name, address, date of birth, year at school, contact details etc… <br />
Once the student has an account on the College site he/she can log in to their own unique section of the site where they can view/edit/delete their personal details.<br />
They will then be able to enroll in a number of services, including various courses (English, Maths, Science etc...) which will show in dept information about the actual course including teacher, course outline, times etc…<br />
<br />
If a student attempts to enroll in a course which is full, or the time is clashing with another couyrse the student is enrolled in, the system will not allow the student to sign up to the chosen course, instead an email will be sent to the administrator of the site informing him that a new student wishes to sign up for a course. Because this student will already be a member of the system and all of his/her details will be in the database, it will be easy for the admin to contact the student and discuss other options. <br />
If the course is available then the student will have the option to pay upon arrival to their first class or pay online via PayPal. <br />
<br />
The student will then be added to the chosen course. Supervised study is another service available to the student. This will work in a similar fashion to the course enrolment, except instead of different subjects there will be different packages or time slots. E.g there is an evening study time slot and also a Saturday study time slot. When the student is enrolled in the supervised study service he/she will be able to view timetables and seating arrangements unique to them.<br />
<br />
The teacher sign up will be similar to that of the student except some of the personal details will be different. The teacher can log in to their own unique MyCollege which will have different functionality than the student’s section. If for example the teacher is tutoring in more than one course, he/she will be able to click on the course of choice, for example English, then the teacher will be able to see all of the students enrolled in that course. <br />
<br />
They will then be able to click into each of the individual students to see some of their information (non personal). The teacher will be able to grade students, leave comments and make recommendations about students which the administrator can later take on board, do out reports to give feedback to the parents and students themselves. <br />
<br />
The teacher will be able to upload lecture material from previous classes to that only the students enrolled in his/her course can view. The teacher will also be able to interactively take attendance on the system which will all be logged and attendance reports can then be generated on this information. A function where if the student is missing a class, an automatic email/SMS is sent out to the parent of the student is also needed.<br />
<br />
There will be a parents section where by the parent of a student attending the college can log in and observe how their son/daughter is doing; how their attendance is, how their academic performance is doing and if their keeping up with the material, and also to see if their teacher has any comments.<br />
<br />
The administrators section will be able to look at all aspects of the system. From approving students when they sign up, to checking attendance, checking academic performance of the students, making sure lecture material is being uploaded, adding/editing and removing members and teachers, reporting. Basically the admin will control every aspect of the system.<br />
<br />
Any help at all would be much appreciated.<br />
<br />
Thanks a Million<br />
Billy</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>billdara</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244423.html</guid>
		</item>
		<item>
			<title>Hotel Room Reservation System</title>
			<link>http://www.daniweb.com/forums/thread243935.html</link>
			<pubDate>Sat, 05 Dec 2009 16:45:13 GMT</pubDate>
			<description>I need help here   anyone can give me heads up will be appreciated  
 
                     Hotel Room Reservation System 
Westin  owns  a chain  of  hotels  internationally  around the  world.  As a  world  renowned  hotel, it  is  their priority to ensure the efficiency of their services. As a...</description>
			<content:encoded><![CDATA[<div>I need help here   anyone can give me heads up will be appreciated <br />
<br />
                     Hotel Room Reservation System<br />
Westin  owns  a chain  of  hotels  internationally  around the  world.  As a  world  renowned  hotel, it  is  their priority to ensure the efficiency of their services. As a means to improve their services, they hire you to develop a database for their hotel room reservation. The database system should be able to keep track on reservation details, rooms and customer information.<br />
Each  hotel  of  Westin  offers  a  standardised  accommodation  package.  Each hotel  has  anywhere from twenty to  one hundred rooms . These rooms could  be either Standard  type, Deluxe type, Superior  type or  Family  type.  Some  rooms  are  facing  good  views  while  some  are  without  any  view.  All  rooms  are cater for two or more adults, and are charged on a room per night basis, regardless of whether they are occupied  by  one  or  two guests.  The  charge  per  room  per  night  is  standard  throughout  the  week . However, each room may have many different room facilities. A  customer  can  make  several  reservations. <br />
       Nevertheless,  a  room  can  only  be subject  to  one reservation, on a given day, at any given time. A reservation may involve one or more rooms. However, all  rooms  in  a  s ingle  reservation  must  have  the  same  arrival  and  departure  dates.  If  different  arrival dates  apply  then  separate  reservations  must  be  made.  Each  single  reservation  is  made  in  a  single name  regardless  of  how  many  guests  it  actually  involves.  When  a  reservation  is  made  the  room allocated  should  always  be  the  room  whose  vacant  period  best  matches  the  requested  reservation period, given that the room is of the type requested. The cus tomer needs to pay during the reservation, whereby  the  total  prices  are  calculated  based  on  number  of  room  reserved  per  night.  As  a  token  of appreciation,  Westin  offers  a  10%  discount  to  regular  customer  (customer  whic h  has  stayed  in  any chain of hotels for more than 10 times in a year).<br />
<br />
Example SQL queries and statements  that your databas e should be able to handle<br />
•List the available rooms group by their room types<br />
•List the chain of Westin hotels which has the most number of reservations.<br />
•Create report(s) to list the total number of reservations for each day/month/year for each chain of Westin hotels .<br />
•For each hotel, list the top five countries from where the customer originates from.<br />
•Create a trigger that will price a room at a disc ounted rate for rooms that had their reservations cancelled. You may set the discount at different rates depending on the days (e.g. 1 week before actual date = 20% discount, 1 day before 50% discount). This is  to encourage people to take up empty rooms and ensure that no room in the hotel is left empty (full occupancy = more money!)<br />
•Create a trigger that will automatically identify which c ustomer are the regular customers which will receive coupons for special offers.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>Donno_db2</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243935.html</guid>
		</item>
		<item>
			<title>e r diagram help for either time table generation r info retrieval system</title>
			<link>http://www.daniweb.com/forums/thread243828.html</link>
			<pubDate>Sat, 05 Dec 2009 05:16:45 GMT</pubDate>
			<description>i hv gt a project on time table information retrieval system with oracle as the back edn and vb as the front end so i woul d be really grateful if anyone could help me with the er diagram for time table . 
the entitites are faculty ,course which has a lab component  then class room info andtime...</description>
			<content:encoded><![CDATA[<div>i hv gt a project on time table information retrieval system with oracle as the back edn and vb as the front end so i woul d be really grateful if anyone could help me with the er diagram for time table .<br />
the entitites are faculty ,course which has a lab component  then class room info andtime slot as the main entity</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>aayush88</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243828.html</guid>
		</item>
		<item>
			<title>ER Help Pls</title>
			<link>http://www.daniweb.com/forums/thread243060.html</link>
			<pubDate>Wed, 02 Dec 2009 15:23:27 GMT</pubDate>
			<description>Ok i wa swondering if i could get help on this: 
 
Jack’s Jail is a new private facility set up to cash in on the current shortage of prison places.  The jail is to be set up in Manchester using some old buildings that are surplus to requirements (so some of the inmates could be familiar with the...</description>
			<content:encoded><![CDATA[<div>Ok i wa swondering if i could get help on this:<br />
<br />
Jack’s Jail is a new private facility set up to cash in on the current shortage of prison places.  The jail is to be set up in Manchester using some old buildings that are surplus to requirements (so some of the inmates could be familiar with the layout of their new accommodation!).<br />
The Jail is planned to have 643 cells – each cell has a wing letter (A-D), level (1 to 4) and cell number (two digits).  Of these cells, 220 can be shared cells (double occupancy – if there is the need) and 43, of the single occupancy cells, are suitable for high surveillance and can be used for ‘at risk’ prisoners.  There is also an isolation block (wing E, level 1, 20 cells) where prisoners on punishment can be transferred for periods of between two and 10 days.<br />
To run his jail, Jack needs a ‘hotel system’ to keep track of the inmates.  The system will need to book-in the prisoners when they arrive (record their name, prisoner number, date of admission (i.e. start of sentence), length of sentence (in days), category (A to D) and whether they are considered ‘at risk’.  Prisoners with ‘at risk’ status also have details recorded of the nature of that risk, e.g. danger of suicide.  As well as recording the prisoner’s details the book-in process has to allocate a suitable cell (taking into account their status (category A and B can not share a cell) and whether they are ‘at risk’).<br />
Once booked in the prisoner details can be amended.  They may receive remission (days to be deducted from their sentence) and this must be added to their record.<br />
Prisoners can also be put ‘on punishment’ in which case they are allocated to a cell on wing E for the duration of the punishment (their original cell allocation is retained and they return there at the end of the punishment period).  Each punishment is recorded on the prisoner’s record with the offence title, punishment start date and duration; details of the punishment are retained and can be taken into account if further offences occur.<br />
The system needs also needs to make sure that prisoners are released on time.  Each week there is a report listing prisoners to be released the following week (calculated from: date of admission + length of sentence – remission).  When the prisoner is released the release date is added to their record (and obviously their cell becomes free and available for new inmates).<br />
<br />
Struggling to get the relationships between each entity i'll be gratefull if anyone could help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>dwaynecaine</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243060.html</guid>
		</item>
		<item>
			<title>ER Diagram need help</title>
			<link>http://www.daniweb.com/forums/thread242723.html</link>
			<pubDate>Tue, 01 Dec 2009 10:50:14 GMT</pubDate>
			<description>A doctor may refer a patient to other doctors for treatment. A doctor must be referred by at least one other doctors.Each referral captures the referral date and description. Each referral is only for one patient. A patient may have any number of referrals. 
(you must reflect which doctor refers a...</description>
			<content:encoded><![CDATA[<div>A doctor may refer a patient to other doctors for treatment. A doctor must be referred by at least one other doctors.Each referral captures the referral date and description. Each referral is only for one patient. A patient may have any number of referrals.<br />
(you must reflect which doctor refers a specific patient to another doctor in your data model.)<br />
<br />
How to draw the relationship?<br />
is it unary or tertiary relation?<br />
<br />
by the way...if the supertype has just one subtype, how to draw on the ER diagram?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>hanzooi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242723.html</guid>
		</item>
		<item>
			<title>Creating Fact and Dimension Tables</title>
			<link>http://www.daniweb.com/forums/thread242628.html</link>
			<pubDate>Tue, 01 Dec 2009 02:03:29 GMT</pubDate>
			<description>Hello, 
 
I am new to Microsoft SQL Analysis service and am trying to create cubes.  But,  I understand that I first need to create fact and dimension tables.   
 
How do I create them?  I kinda know the relationship between those two (Maybe not) but I just don’t know how to create them.  I have a...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I am new to Microsoft SQL Analysis service and am trying to create cubes.  But,  I understand that I first need to create fact and dimension tables.  <br />
<br />
How do I create them?  I kinda know the relationship between those two (Maybe not) but I just don’t know how to create them.  I have a relational database that contains tables which I can use to build fact and dimension tables.<br />
<br />
I have data warehouse server.  I understand that dimension and fact tables should be created in the data warehouse server.<br />
<br />
Any help would be grateful.<br />
<br />
Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>toykwon5</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242628.html</guid>
		</item>
		<item>
			<title>Java database</title>
			<link>http://www.daniweb.com/forums/thread242604.html</link>
			<pubDate>Mon, 30 Nov 2009 23:55:22 GMT</pubDate>
			<description>hello can someone help me out with these? am writing a project on a video rental store. and i have to use access i dont know if i should use one-many connection or many - many. if many-many then what will the code in the java database look like? remember the user have to know the movies in store...</description>
			<content:encoded><![CDATA[<div>hello can someone help me out with these? am writing a project on a video rental store. and i have to use access i dont know if i should use one-many connection or many - many. if many-many then what will the code in the java database look like? remember the user have to know the movies in store the one rented and customer's name! <br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>emmas4impact</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242604.html</guid>
		</item>
		<item>
			<title>Database Table designs</title>
			<link>http://www.daniweb.com/forums/thread242461.html</link>
			<pubDate>Mon, 30 Nov 2009 15:01:07 GMT</pubDate>
			<description>Hi all,  
 
 I have been set an assignment to which i have no clue about. I am going to paste the brief to you all and hopefully some kind person will give me some guidance upon what tables i need and what attributes need to go in them. 
 
 In a university environment there are members of staff and...</description>
			<content:encoded><![CDATA[<div>Hi all, <br />
<br />
 I have been set an assignment to which i have no clue about. I am going to paste the brief to you all and hopefully some kind person will give me some guidance upon what tables i need and what attributes need to go in them.<br />
<br />
 In a university environment there are members of staff and students. Some postgraduate students are also working as Research or Teaching Assistants and are, therefore, considered as members of staff as well. For each student we keep his or her name, library card number and degree programme they are studying. We are also keeping the course units they are studying and the grades that they get for each course unit. We also keep the School(s) that is/are responsible for each course unit. For each Research Assistant we keep his or her name, library card number and research project they are for. For each Teaching Assistant we keep his or her name, library card number and lecturer(s) that they are helping. For each academic member of staff we keep his or her name, library card number and course units they are responsible for. The university has a library. Each member of staff or student can borrow up to ten items from the library. These items are books, journals or technical reports. To each book the library is assigning a number and is also keeping the author(s), title and year that it was published. To each journal the library is assigning a number and is also keeping the title, volume and year that it was published. To each technical report the library is assigning a number and is keeping the author(s), title, version and year that it was published.<br />
<br />
 Thank you!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>kt123</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242461.html</guid>
		</item>
		<item>
			<title>Need Help with EER Diagram and Tables</title>
			<link>http://www.daniweb.com/forums/thread242344.html</link>
			<pubDate>Mon, 30 Nov 2009 05:13:07 GMT</pubDate>
			<description>Hi I am taking MIS class and i need help with the EER diagram and i tried making it myself but teacher told me that it is a process diagram not an ER diagram please help me here is what i have tried: please click on this link http://yfrog.com/j2mytryj  
 
and here is what another try here is the...</description>
			<content:encoded><![CDATA[<div>Hi I am taking MIS class and i need help with the EER diagram and i tried making it myself but teacher told me that it is a process diagram not an ER diagram please help me here is what i have tried: please click on this link <a rel="nofollow" class="t" href="http://yfrog.com/j2mytryj" target="_blank">http://yfrog.com/j2mytryj</a> <br />
<br />
and here is what another try here is the link <a rel="nofollow" class="t" href="http://yfrog.com/2s2ndxj" target="_blank">http://yfrog.com/2s2ndxj</a> <br />
<br />
please let me know which one is correct i am having trouble defining the entities...and i also need to create table with attributes and normalize it...please help!<br />
<br />
Here is the scenario:<br />
MIS Corporation owns and operates nine large hardware stores and one centralized warehouse in major metropolitan areas of the west United States. The stores carry a wide variety of hardware merchandise for sale to the individual and business. The stock is stored in bins and is located by an inventory number in the warehouse. <br />
<br />
Whenever a retail store needs merchandise, a four-part merchandise request form is completed. One copy is kept by the store, and three copies are mailed to the warehouse the next day. If the merchandise requested is on hand, the goods are delivered to the store, accompanied by the third copy of the request. The second copy is filed at the warehouse. The fourth copy is forward to accounts receivable for cost and revenue calculation.<br />
<br />
If the quantity of goods on hand is not sufficient to fill the order, the warehouse sends the quantity available and notes the quantity shipped on the request form. A purchase memorandum for the shortage is then prepared by the warehouse. At the end of each day, all the memos are sent to the purchasing department.<br />
<br />
When ordered goods are received, they are checked at the receiving area of the warehouse, and a receiving report is prepared. One copy of the receiving report is retained at the receiving area, one is forwarded to accounts payable, and one is filed at the warehouse with the purchase memorandum.<br />
<br />
When the purchase memoranda are received from the warehouse, purchase orders are prepared. Vendor catalogs are used to select the best source for the requested goods, and the purchase order is prepared and mailed. Copies of the order are sent to account payable and the receiving area. One copy is retained in the purchasing department.<br />
<br />
When receiving report arrives in the purchasing department, it is compared with the purchase order on file. It is also checked with the invoice before the invoice is forwarded to accounts payable for payment.<br />
<br />
Each week a report of the open purchase orders is prepared to determine if any action should be taken on overdue deliveries. This report is prepared manually after scanning the file of outstanding purchase orders.<br />
<br />
The company has been successful in this field. Each retail store acquires its merchandise from the company's centrally located warehouse. Consequently, the warehouse must maintain an up-to-date and well-stocked inventory ready to meet the demand of the individual stores.<br />
<br />
The company wishes to hold its competitive position with similar stores of other companies in its market area. Therefore, MIS Company must improve its purchasing, inventory, and selling procedures. The number of company's store, the number of inventory items carried, and the volume of business has been providing pressures to change from basically manual data processing routines to a computerized processing system.<br />
<br />
After several discussions with the company's executive board, Nancy Tsai, the chief executive office of MIS Company, has decided to install several minicomputers in stores and warehouse in the late 1990s. Most of the applications that have been installed on the computer are in the accounting and financial areas. Most of these application programs are purchased from a software vendor company that has modified the programs to meet the requirements of the MIS Company.<br />
<br />
The computer applications at MIS Company have generally been successful. The software has enabled the company to reduce its paper work burden and improve its response to individual stores. In addition management is able to obtain better information concerning costs, sales, and profit. <br />
<br />
Nevertheless, managers at MIS Company are dissatisfied with several aspects of the computer systems. While the applications have helped improved the operations management function, there has been little impact on middle management and still less on top management. Nancy Tsai and the other managers at MIS Company have come to realize that there are basic limitations to traditional file processing systems. Some of these limitations are (1) uncontrolled redundancy, (2) inconsistent data, (3) inflexibility, (4) limited data sharing, (5) poor enforcement of standards, and (6) excessive program maintenance.<br />
<br />
Now the competition in hardware retailing has intensified. Competitors such as Home Base and Home Depot seem to response more rapidly than MIS Company to new business opportunities. Therefore, after analyzing the current individual file processing systems, the company's data processing consulting firm – the Oaks Associates has suggested replacing the existing systems with an integrated database management systems using Oracle. <br />
<br />
The recommendation of the Oaks Associates stated that the new database management systems should have the following characteristics: (1) minimal data redundancy, (2) consistency of data, (3) integration of data, (4) sharing of data, (5) ease of application development, (6) uniform, security, privacy, and integrity controls, (7) data accessibility and responsiveness, (8) data independence, and (9) reduced program maintenance.<br />
<br />
Nancy Tsai has accepted the excellent advice given by the Oaks Associates. She is intended to purchase Oracle as the MIS Company's database management systems. She has just hired your team for the data processing department. Your responsibility is to design a database oriented merchandise distribution systems to collect the information about inventory levels for the warehouse and individual stores, vendor, accounts payable, and accounts receivable. Nancy Tsai expects that your database design is flexible to handle both large volume transactional processing reports for the operation management and ad hoc reports for the top management.<br />
<br />
===========<br />
<span style="font-weight:bold"><span style="color:Red">Please see the <a rel="nofollow" class="t" href="http://yfrog.com/06captureobp‏" target="_blank">http://yfrog.com/06captureobp‏</a> document this is my new updated version please let me know if i have any mistakes as far as the tables and attributes and also the normalization</span></span><br />
here is the tables<br />
MIS Corporation<br />
Attributes<br />
CompanyID<br />
Description<br />
<br />
Hardware Stores<br />
Attributes<br />
StoreNo<br />
StoreAdd<br />
StorePhone<br />
CustNo<br />
<br />
Warehouse<br />
Attributes<br />
WarehouseNo<br />
WarehouseAdd<br />
WarehousePhone<br />
<br />
Customers<br />
Attributes<br />
CustNo<br />
CustLname<br />
CustFname<br />
CustAdd<br />
CustPhone<br />
<br />
Transactions<br />
Attributes<br />
TransNO<br />
TransDate<br />
ProductNO<br />
<br />
<br />
<br />
Product<br />
Attributes<br />
ProductNo<br />
ProductDescription<br />
SerialNumber<br />
Model Number<br />
<br />
Purchase Order Item<br />
Attributes<br />
POINo<br />
ProductNo<br />
POIDescription<br />
POIQuantaty<br />
POIPrice<br />
PurchaseNo<br />
<br />
Purchase<br />
Attributes<br />
PurchaseNo<br />
PurchaseDate<br />
VendorNo<br />
InvoiceNo<br />
StaffNo<br />
POINo<br />
<br />
Vendor<br />
Attributes<br />
VendorNo<br />
VendorAdd<br />
VendorPhone<br />
VendorType<br />
<br />
<br />
Invoice<br />
Attributes<br />
InvoiceNo<br />
InvoiceDate<br />
InvoiceAmount<br />
VendorNo<br />
PurchaseNo<br />
<br />
Payment<br />
Attributes<br />
PaymentNo<br />
PaymentDate<br />
PaymentAmount<br />
VendorNo<br />
PurchaseNo<br />
InvoiceNo<br />
StaffNo<br />
<br />
Staff<br />
Attributes<br />
StafftNo<br />
SLname<br />
SFname<br />
StoreNo<br />
Hiredate<br />
Saddress<br />
<br />
<br />
Order<br />
Attributes<br />
OrderNo<br />
OrderDate<br />
CustomerNo<br />
Cust_paymentNo<br />
OLIno<br />
<br />
<br />
<br />
Order Line Item<br />
Attributes<br />
OLineNo<br />
ProductNo<br />
OLineDescription<br />
OLineQuantaty<br />
OLinePrice<br />
OrderNo<br />
<br />
Cust_Payment<br />
Attributes<br />
Cust_PaymentNo<br />
Cust_PaymentDate<br />
Cust_PaymentAmount<br />
StoreNo<br />
OrderNo<br />
StaffNo</div>  <br /> <div style="padding:5px">     <fieldset class="fieldset"> <legend>Attached Files</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/pdf.gif" alt="File Type: pdf" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12786&amp;d=1259558099">has1hireshires.pdf</a> (31.5 KB)</td> </tr><tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/pdf.gif" alt="File Type: pdf" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12787&amp;d=1259558104">NEwTables.pdf</a> (38.6 KB)</td> </tr> </table> </fieldset>  </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>Tahseen79</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242344.html</guid>
		</item>
		<item>
			<title>Need Help with EER Diagram</title>
			<link>http://www.daniweb.com/forums/thread242318.html</link>
			<pubDate>Mon, 30 Nov 2009 02:24:31 GMT</pubDate>
			<description>Hi I am taking MIS class and i need help with the EER diagram and i tried making it myself but teacher told me that it is a process diagram not an ER diagram please help me here is what i have tried: please click on this link _http://yfrog.com/j2mytryj  _ 
 
and here is what another try here is the...</description>
			<content:encoded><![CDATA[<div>Hi I am taking MIS class and i need help with the EER diagram and i tried making it myself but teacher told me that it is a process diagram not an ER diagram please help me here is what i have tried: please click on this link <span style="text-decoration:underline"><a rel="nofollow" class="t" href="http://yfrog.com/j2mytryj" target="_blank">http://yfrog.com/j2mytryj </a> </span><br />
<br />
and here is what another try here is the link <a rel="nofollow" class="t" href="http://yfrog.com/2s2ndxj" target="_blank">http://yfrog.com/2s2ndxj</a>   <br />
<br />
please let me know which one is correct i am having trouble defining the entities...and i also need to create table with attributes and normalize it...please help!<br />
<br />
Here is the scenario:<br />
<span style="font-weight:bold">MIS Corporation owns and operates nine large hardware stores and one centralized warehouse in major metropolitan areas of the west United States.  The stores carry a wide variety of hardware merchandise for sale to the individual and business.  The stock is stored in bins and is located by an inventory number in the warehouse. <br />
<br />
Whenever a retail store needs merchandise, a four-part merchandise request form is completed.  One copy is kept by the store, and three copies are mailed to the warehouse the next day.  If the merchandise requested is on hand, the goods are delivered to the store, accompanied by the third copy of the request.  The second copy is filed at the warehouse.  The fourth copy is forward to accounts receivable for cost and revenue calculation.<br />
<br />
If the quantity of goods on hand is not sufficient to fill the order, the warehouse sends the quantity available and notes the quantity shipped on the request form.  A purchase memorandum for the shortage is then prepared by the warehouse.  At the end of each day, all the memos are sent to the purchasing department.<br />
<br />
When ordered goods are received, they are checked at the receiving area of the warehouse, and a receiving report is prepared.  One copy of the receiving report is retained at the receiving area, one is forwarded to accounts payable, and one is filed at the warehouse with the purchase memorandum.<br />
<br />
When the purchase memoranda are received from the warehouse, purchase orders are prepared.  Vendor catalogs are used to select the best source for the requested goods, and the purchase order is prepared and mailed.  Copies of the order are sent to account payable and the receiving area.  One copy is retained in the purchasing department.<br />
<br />
When receiving report arrives in the purchasing department, it is compared with the purchase order on file.  It is also checked with the invoice before the invoice is forwarded to accounts payable for payment.<br />
<br />
Each week a report of the open purchase orders is prepared to determine if any action should be taken on overdue deliveries.  This report is prepared manually after scanning the file of outstanding purchase orders.<br />
<br />
The company has been successful in this field.  Each retail store acquires its merchandise from the company's centrally located warehouse.  Consequently, the warehouse must maintain an up-to-date and well-stocked inventory ready to meet the demand of the individual stores.<br />
<br />
The company wishes to hold its competitive position with similar stores of other companies in its market area.  Therefore, MIS Company must improve its purchasing, inventory, and selling procedures.  The number of company's store, the number of inventory items carried, and the volume of business has been providing pressures to change from basically manual data processing routines to a computerized processing system.<br />
<br />
After several discussions with the company's executive board, Nancy Tsai, the chief executive office of MIS Company, has decided to install several minicomputers in stores and warehouse in the late 1990s.  Most of the applications that have been installed on the computer are in the accounting and financial areas.  Most of these application programs are purchased from a software vendor company that has modified the programs to meet the requirements of the MIS Company.<br />
<br />
The computer applications at MIS Company have generally been successful.  The software has enabled the company to reduce its paper work burden and improve its response to individual stores.  In addition management is able to obtain better information concerning costs, sales, and profit.  <br />
<br />
Nevertheless, managers at MIS Company are dissatisfied with several aspects of the computer systems.  While the applications have helped improved the operations management function, there has been little impact on middle management and still less on top management.  Nancy Tsai and the other managers at MIS Company have come to realize that there are basic limitations to traditional file processing systems.  Some of these limitations are (1) uncontrolled redundancy, (2) inconsistent data, (3) inflexibility, (4) limited data sharing, (5) poor enforcement of standards, and (6) excessive program maintenance.<br />
<br />
Now the competition in hardware retailing has intensified.  Competitors such as Home Base and Home Depot seem to response more rapidly than MIS Company to new business opportunities.  Therefore, after analyzing the current individual file processing systems, the company's data processing consulting firm – the Oaks Associates has suggested replacing the existing systems with an integrated database management systems using Oracle. <br />
<br />
The recommendation of the Oaks Associates stated that the new database management systems should have the following characteristics: (1) minimal data redundancy, (2) consistency of data, (3) integration of data, (4) sharing of data, (5) ease of application development, (6) uniform, security, privacy, and integrity controls, (7) data accessibility and responsiveness, (8) data independence, and (9) reduced program maintenance.<br />
<br />
Nancy Tsai has accepted the excellent advice given by the Oaks Associates.  She is intended to purchase Oracle as the MIS Company's database management systems.  She has just hired your team for the data processing department.  Your responsibility is to design a database oriented merchandise distribution systems to collect the information about inventory levels for the warehouse and individual stores, vendor, accounts payable, and accounts receivable.  Nancy Tsai expects that your database design is flexible to handle both large volume transactional processing reports for the operation management and ad hoc reports for the top management.<br />
</span></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>Tahseen79</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242318.html</guid>
		</item>
		<item>
			<title>SQL tables and relation modelling</title>
			<link>http://www.daniweb.com/forums/thread240660.html</link>
			<pubDate>Mon, 23 Nov 2009 10:19:37 GMT</pubDate>
			<description>what is the differances with SQL tables and relation modelling?</description>
			<content:encoded><![CDATA[<div>what is the differances with SQL tables and relation modelling?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>ratatu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread240660.html</guid>
		</item>
		<item>
			<title>database schema for event calendar</title>
			<link>http://www.daniweb.com/forums/thread238925.html</link>
			<pubDate>Mon, 16 Nov 2009 13:32:06 GMT</pubDate>
			<description>Hi all, 
 
1) Users can belong to a specific group wherein when the group moderator publishes an event, its visible to all the members of group. 
 
2) A normal user can publish event in his own calendar, to make that event visible to all users in group, the group moderator needs to approve it. 
...</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
1) Users can belong to a specific group wherein when the group moderator publishes an event, its visible to all the members of group.<br />
<br />
2) A normal user can publish event in his own calendar, to make that event visible to all users in group, the group moderator needs to approve it.<br />
<br />
3) While adding an event, a user can select from a list of available resources which gets booked for event's duration and no one else can publish an event using those resources at the same time.<br />
<br />
4) Also when a moderator adds a member to his group, the member needs to approve whether he agrees to be in that specific group. Only after he agrees, he can view that group's events.<br />
<br />
5) A user can belong to more than one group.<br />
<br />
if anyone has any suggestions... u r most welcome !!!<br />
m a php developer and have absolutely no experience in DB design..<br />
help me out guys..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>venkat0904</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238925.html</guid>
		</item>
		<item>
			<title>ER Diagram Help</title>
			<link>http://www.daniweb.com/forums/thread238119.html</link>
			<pubDate>Thu, 12 Nov 2009 20:53:47 GMT</pubDate>
			<description><![CDATA[Hello I'm designing a database for my Computing Science department and I am having some trouble with the ER Diagram. Any help would be great appreciated. 
 
What I have so far is: 
 
Each course has a ID Code, title, is taken by one or more students and is taught by one or more lecturers. 
 
Each...]]></description>
			<content:encoded><![CDATA[<div>Hello I'm designing a database for my Computing Science department and I am having some trouble with the ER Diagram. Any help would be great appreciated.<br />
<br />
What I have so far is:<br />
<br />
Each course has a ID Code, title, is taken by one or more students and is taught by one or more lecturers.<br />
<br />
Each course has none or more tutorial groups.<br />
<br />
A tutorial group has one or more students and only one tutor.<br />
<br />
Tutors are members of staff with a status of full-time/part-time.<br />
<br />
Each student has a unique matriculation number, a name and email address.<br />
<br />
Each student has an assessment for each course they take consisting of an exam mark in the range 0-100 and a practical mark in range 0-20.<br />
<br />
Lecturers have a photocopy budget and all lecturers are a member of staff with a unique staff number, a name and a status(e.g Research assistant).<br />
<br />
All staff members have one manager who is also a member of staff.<br />
<br />
-----------<br />
<br />
COURSE<br />
ID Code<br />
Title<br />
<br />
STUDENT<br />
Matriculation Number<br />
Assessment<br />
Name<br />
Email<br />
<br />
LECTURER<br />
Staff Number<br />
Photocopy Budget<br />
Name<br />
Status<br />
<br />
STAFF<br />
Manager<br />
<br />
TUTOR<br />
Status<br />
<br />
<br />
<br />
I know I have missed things out/put entities in the wrong place therefore any help would be great.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>Garee</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238119.html</guid>
		</item>
		<item>
			<title>Schema to ER</title>
			<link>http://www.daniweb.com/forums/thread237685.html</link>
			<pubDate>Wed, 11 Nov 2009 07:36:28 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I wanted to ask if I have the folling relations in my db: 
 
A(_nb_, ziel, total) 
B(_nb_, _platz_, uid?) 
C(_uid_, name, stammkunde?) 
 
where B.nb -> A.nb, B.uid -> C.uid]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I wanted to ask if I have the folling relations in my db:<br />
<br />
A(<span style="text-decoration:underline">nb</span>, ziel, total)<br />
B(<span style="text-decoration:underline">nb</span>, <span style="text-decoration:underline">platz</span>, uid?)<br />
C(<span style="text-decoration:underline">uid</span>, name, stammkunde?)<br />
<br />
where B.nb -&gt; A.nb, B.uid -&gt; C.uid<br />
<br />
Now if I translate that into a ER model, would it be (1) or (2):<br />
<br />
where in 2, A and B are related through a &quot;subclass&quot; hierarchy.<br />
<br />
Thanks in advance.</div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12524&amp;d=1257924974" target="_blank">er.jpg</a> (18.9 KB)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>sanv</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237685.html</guid>
		</item>
		<item>
			<title>New Web database</title>
			<link>http://www.daniweb.com/forums/thread237534.html</link>
			<pubDate>Tue, 10 Nov 2009 18:41:23 GMT</pubDate>
			<description>I have been a member for some time just watching in the background. I work in security but am trying to change my career to computers. I finally got a laptop to explore more.  
 
I decided to jump in and tell my boss his web site sucks and needs a new one. So now I have to build it. I am using...</description>
			<content:encoded><![CDATA[<div>I have been a member for some time just watching in the background. I work in security but am trying to change my career to computers. I finally got a laptop to explore more. <br />
<br />
I decided to jump in and tell my boss his web site sucks and needs a new one. So now I have to build it. I am using Share Point and most of it is cut and paste. <br />
<br />
Now it is a small company so I only had to set up about 7 emails and created about 6 pages on the Share Point site including 2 calendars.<br />
<br />
I connected the calendars using office outlook so now everyone can see updates on the calendar if you have access to that page.<br />
<br />
I pointed the domain to the Share Point only to find you have to log in to see anything. So that didn't work because now you can't google it.<br />
<br />
I then added a web hosting portion thus dumping all my emails. I set them up again and they are working fine. Now I have just a basic template as the web site with a log in portal pointer to the Share Point.<br />
<br />
I want to put my data base of employee files on line because their is room now for a server! I have a mac and love the look and feel of Bento but I don't think they have a server app. I found it is also compatible with File Maker Pro which does have a server app. <br />
<br />
I am not looking for code or for someone to do this for me. I am looking for guidance. I was doing pretty good so far but now I am dealing with other peoples sensitive information. My data base is nice and includes photos of all the guards, address lists, guard card and social security numbers, drivers license numbers, birthdays. I know that Share Point is somewhat secure and I can restrict access to these sensitive items however I am still thinking about encrypting the database or access somehow.<br />
<br />
Any suggestions on how I should set up and encrypted data base on Share Point. Or maybe I should use a key to open the data base.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>jester42002</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237534.html</guid>
		</item>
		<item>
			<title>database design for webstore with over 2000 products</title>
			<link>http://www.daniweb.com/forums/thread236954.html</link>
			<pubDate>Sun, 08 Nov 2009 09:43:39 GMT</pubDate>
			<description>what do i need im a newb just wondering. have subscibed will be otofied of any posts.</description>
			<content:encoded><![CDATA[<div>what do i need im a newb just wondering. have subscibed will be otofied of any posts.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>SKANK!!!!!</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236954.html</guid>
		</item>
		<item>
			<title>Application of Database Recovery System</title>
			<link>http://www.daniweb.com/forums/thread235667.html</link>
			<pubDate>Tue, 03 Nov 2009 13:43:46 GMT</pubDate>
			<description><![CDATA[I've got an assignment about database recovery system. I need to find an organization/enterprise and figure out its recovery system. I ask for help from someone who ever made or knew database recovery system applied by an organization/enterprise. Please share me some details. 
 
Thank you. 
 
Best...]]></description>
			<content:encoded><![CDATA[<div>I've got an assignment about database recovery system. I need to find an organization/enterprise and figure out its recovery system. I ask for help from someone who ever made or knew database recovery system applied by an organization/enterprise. Please share me some details.<br />
<br />
Thank you.<br />
<br />
Best regards,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>Arcaiz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235667.html</guid>
		</item>
		<item>
			<title>ERD help!</title>
			<link>http://www.daniweb.com/forums/thread234639.html</link>
			<pubDate>Fri, 30 Oct 2009 09:31:42 GMT</pubDate>
			<description><![CDATA[I have to make an ERD diagram using this scenario case and I'm not sure if I have all the required tables/fields in my ERD. Is my entities normalized up to 3NF? Are the relationships correct? 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>I have to make an ERD diagram using this scenario case and I'm not sure if I have all the required tables/fields in my ERD. Is my entities normalized up to 3NF? Are the relationships correct?<br />
 <pre style="margin:20px; line-height:13px"><br />
Background<br />
<br />
The Brisbane Driving School was established in Brisbane in 1992. Since then, the School has grown steadily and now has several offices in most of the main suburbs of Brisbane. However, the School is now so large that more and more administrative staff members are being employed to cope with the ever-increasing amount of paperwork. Furthermore, the communication and sharing of information between offices is poor. The Director of the School, Dave Darcy, feels that too many mistakes are being made and that the success of the School will be short-lived if he does not do something to remedy the situation. He knows that a database could help in part to solve the problem and has approached you to help in creating a database system to support the run­ning of the Brisbane Driving School. The Director has provided the following brief description of how the Brisbane Driving School operates.<br />
<br />
The company has now employed over 120 staff. Around 100 of them are driving instructors.&nbsp; Over the years BDS has accumulated over 4000 customers. Around 100,000 lessons have been delivered and around 5000 driving tests arranged.<br />
<br />
How the company operates<br />
<br />
Each office has a Manager (who tends to also be a Senior Instructor), several Senior Instructors, Instructors, and administrative staff. All instructors should possess a valid Queensland Instructor licence. The Manager is responsible for the day-to-day running of the office. Clients must first register at an office and this requires that they complete an application form, which records their personal details. Before the first lesson, a client is requested to attend an interview with an Instructor to assess the needs of the client and to ensure that the client holds a valid provisional driving license. A client is free to ask for a particular Instructor or to request that an Instructor be changed at any stage throughout the process of learning to drive. After the interview, a driving course is agreed and the first lesson is booked. A client may request individual lessons or book a block of lessons for a reduced fee. An individual lesson is for one hour, which begins and ends at the office. A lesson is with a particular Instructor in a particular car at a given time. Lessons can start as early as 8am and as late as 8pm. After each lesson, the Instructor records the progress made by the client and notes the mileage used during the lesson. The School has a pool of cars, which are adapted for the purposes of teaching. Each Instructor is allocated to a particular car. As well as teaching, the Instructors are free to use the cars for personal use. The cars are inspected at regular intervals for faults. Once ready, a client applies for a driving test date. The school will arrange to make the booking. To obtain a driving license the client must pass the road test. It is the responsibility of the Instructor to ensure that the client is best prepared for the test. The Instructor is not responsible for testing the client and is not in the car during the test but should be available to drop off and pick up the client before and after the test at the Driving Test Centre. If a client fails to pass, the Instructor must record the reasons for the failure.<br />
<br />
In this case study you have to design a database that incorporates all the above information and records, and design a user-friendly user interface for data entry staff and driving instructors to update information. Driving instructors are allowed to access and update data for those lessons and driving tests under his/her own name. They are allowed to see their learners’ details but not allow to change make any changes.&nbsp; The data entry staff and the branch manager can see all data and have all rights.</pre><br />
Here's  a screenshot of the ERD diagram <a rel="nofollow" class="t" href="http://www.lovelyanime.com/erd.gif" target="_blank">http://www.lovelyanime.com/erd.gif</a></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>MuffinKun</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234639.html</guid>
		</item>
		<item>
			<title>My homework</title>
			<link>http://www.daniweb.com/forums/thread234465.html</link>
			<pubDate>Thu, 29 Oct 2009 14:54:02 GMT</pubDate>
			<description>i am trying to design a hotel maintenance database that keep the maintenance of the hotel.,can someone think of the entities i should use for that?need it as soon as possible.....thanks</description>
			<content:encoded><![CDATA[<div>i am trying to design a hotel maintenance database that keep the maintenance of the hotel.,can someone think of the entities i should use for that?need it as soon as possible.....thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>didie_rock</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234465.html</guid>
		</item>
		<item>
			<title><![CDATA[Q&A]]></title>
			<link>http://www.daniweb.com/forums/thread234241.html</link>
			<pubDate>Thu, 29 Oct 2009 00:43:49 GMT</pubDate>
			<description><![CDATA[As a volunteer for a non-profit organization, I've been asked to delve into a database which would allow us to transfer data from our old Q&A  program (the floppies are really floppies) to one that will be compatible with OS post Win XP. Apparently Q & A will not operate on Vista or Win 7. Since...]]></description>
			<content:encoded><![CDATA[<div>As a volunteer for a non-profit organization, I've been asked to delve into a database which would allow us to transfer data from our old Q&amp;A  program (the floppies are really floppies) to one that will be compatible with OS post Win XP. Apparently Q &amp; A will not operate on Vista or Win 7. Since Q&amp;A not only holds our membership &amp; volunteer lists and contact information, but also all the data for 5 different fundraising events (it includes such things as vendors, invoices issued to vendors, point of sale and also calculates our percentage of sales, applicable taxes and exemptions, etc.) it would be prudent to do something before it's non-functional.<br />
We've looked at some of the programs available for handling non-profit orgs but find that they are far too complex for our needs as well as too costly for our limited budget (we are a completely self-supporting community centre in a rural area).<br />
Since volunteers would be handling all this info, it needs to be easy to learn and use.<br />
Frankly, I haven't worked with databases since the advent of dBase and have forgotten everything I ever knew.<br />
Anyone have any ideas?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>romi65</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234241.html</guid>
		</item>
		<item>
			<title>project help:LAN search engines</title>
			<link>http://www.daniweb.com/forums/thread233292.html</link>
			<pubDate>Mon, 26 Oct 2009 02:17:42 GMT</pubDate>
			<description>Hello,I am the third year student,I have taken the mini project of LAN search engine.with JAVA as front end and oracle as a backend. 
but I am not getting exactly how the LAN search Engines work and how to get the database for the local LAN systems. 
 
Plz anyone help me, to get the exact ideas.</description>
			<content:encoded><![CDATA[<div>Hello,I am the third year student,I have taken the mini project of LAN search engine.with JAVA as front end and oracle as a backend.<br />
but I am not getting exactly how the LAN search Engines work and how to get the database for the local LAN systems.<br />
<br />
Plz anyone help me, to get the exact ideas.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>Hritika</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233292.html</guid>
		</item>
		<item>
			<title>Quote system (Having issue with concept of having products and services)</title>
			<link>http://www.daniweb.com/forums/thread232088.html</link>
			<pubDate>Wed, 21 Oct 2009 21:36:38 GMT</pubDate>
			<description><![CDATA[I'm mapping out an entity relationship diagram to try learn more about database design. I currently have approximately 17 tables that map out a quotation management system that quotes customers prices for products and/or services. I've been working on it for a number of days now but I am unable to...]]></description>
			<content:encoded><![CDATA[<div>I'm mapping out an entity relationship diagram to try learn more about database design. I currently have approximately 17 tables that map out a quotation management system that quotes customers prices for products and/or services. I've been working on it for a number of days now but I am unable to find resources/help relating to the following<br />
<br />
The entities/tables within the scenario I'm having trouble with are as follows:<br />
<ul><li>Customer</li>
<li>Quote</li>
<li>QuoteItemListing</li>
<li>ProductItems</li>
<li>ServiceItems</li>
<li>Products</li>
<li>Services</li>
</ul><br />
<span style="font-weight:bold">Relationships</span><br />
Customer (requests) Quote<br />
Quote (has) QuoteItemListing<br />
QuoteItemListing (may have) ProductItems<br />
QuoteItemListing (may have) ServiceItems<br />
ProductItems (are) Products<br />
ServiceItems (are) Services<br />
<br />
Essentially, I wish to be able to reference the IDs of the Products and Services a customer wishes to get a quote on in one table (QuoteItemListing). Could anyone please point me in the right direction? Thanks a lot.<br />
<br />
My tables at present:<br />
<br />
<span style="font-weight:bold">Customer</span><br />
ID<br />
name<br />
address<br />
phone<br />
<br />
<span style="font-weight:bold">Quote</span><br />
ID <br />
customerFK<br />
<br />
<span style="font-weight:bold">QuoteItemListing</span><br />
ID<br />
quoteFK<br />
<br />
<span style="font-weight:bold">ProductItems</span><br />
ID<br />
productFK<br />
quantityRequired<br />
quoteOrderFK<br />
<br />
<span style="font-weight:bold">ServiceItems</span><br />
ID<br />
serviceFK<br />
quoteOrderFK<br />
<br />
<span style="font-weight:bold">Product</span><br />
ID<br />
name<br />
price<br />
<br />
<span style="font-weight:bold">Service</span><br />
ID<br />
name<br />
hourlyRate<br />
hoursRequired</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>daveomcgee</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232088.html</guid>
		</item>
		<item>
			<title>Database HELP....Logical and Conceptual Design</title>
			<link>http://www.daniweb.com/forums/thread231668.html</link>
			<pubDate>Tue, 20 Oct 2009 14:00:53 GMT</pubDate>
			<description><![CDATA[Hi, could someone please help me, i'm in great need of some advice. I have a sorta simple scenario from which i gotta build a database from, can someone please shed some light on the matter, no matter how small your input is. thanks 
 
The database must allow for clients to: 
- make holiday...]]></description>
			<content:encoded><![CDATA[<div>Hi, could someone please help me, i'm in great need of some advice. I have a sorta simple scenario from which i gotta build a database from, can someone please shed some light on the matter, no matter how small your input is. thanks<br />
<br />
The database must allow for clients to:<br />
- make holiday bookings, each booking may be for a number of tents, and can be<br />
complex; clients organizing family holidays may want different numbers of tents on<br />
different days as family groups come and go;<br />
- reserve (and be billed for) activities, e.g. the hire of canoes; data would include the date<br />
the canoe trip took place and the number of canoes used. Generally activities are<br />
arranged once the holidaymaker is on-site.<br />
<br />
needs to record the following data:<br />
About the client:<br />
• Name.<br />
• Address.<br />
• Telephone,<br />
• Credit card details.<br />
About the site:<br />
• For each tent its name and capacity.<br />
• For the restaurant (or other facilities) if present, its name and capacity.<br />
• For equipment, the item type (e.g. canoe or high chair) and how many of the item are<br />
held.<br />
About bookings:<br />
• It is necessary to record that a booking is made.<br />
• The cost of the booking at the time the booking is made.<br />
About billing:<br />
• The cost of items (e.g. a 2-person tent) throughout the year must be recorded.<br />
Generally this will be divided into high, mid and low season rates.<br />
• As time goes by these prices will be updated.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>mikhail96</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231668.html</guid>
		</item>
		<item>
			<title>mysql to sqlite</title>
			<link>http://www.daniweb.com/forums/thread231241.html</link>
			<pubDate>Sun, 18 Oct 2009 20:12:51 GMT</pubDate>
			<description><![CDATA[Could anyone lend some help? 
 
Trying to figure out how to do this in SQLite3 
 
(this is mySQL) 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help...]]></description>
			<content:encoded><![CDATA[<div>Could anyone lend some help?<br />
<br />
Trying to figure out how to do this in SQLite3<br />
<br />
(this is mySQL)<br />
<br />
 <pre style="margin:20px; line-height:13px">CREATE TABLE car_contacts (<br />
&nbsp; id INTEGER NOT NULL AUTO_INCREMENT,<br />
&nbsp; carriers_id CHAR NOT NULL,<br />
&nbsp; name CHAR NULL,<br />
&nbsp; phone CHAR NULL,<br />
&nbsp; phone_ext INTEGER NULL,<br />
&nbsp; fax CHAR NULL,<br />
&nbsp; email CHAR NULL,<br />
&nbsp; PRIMARY KEY(id, carriers_id),<br />
&nbsp; INDEX car_contacts_FKIndex1(carriers_id),<br />
&nbsp; FOREIGN KEY(carriers_id)<br />
&nbsp; &nbsp; REFERENCES carriers(id)<br />
&nbsp; &nbsp; &nbsp; ON DELETE NO ACTION<br />
&nbsp; &nbsp; &nbsp; ON UPDATE NO ACTION<br />
);</pre>any help would be greatly apreciated!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>lukerobi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231241.html</guid>
		</item>
		<item>
			<title><![CDATA["Claim a slot" database design]]></title>
			<link>http://www.daniweb.com/forums/thread231224.html</link>
			<pubDate>Sun, 18 Oct 2009 18:29:02 GMT</pubDate>
			<description><![CDATA[I'm developing a web page for a friend that allows participants of a sports event to "claim" a slot in a 24 hour tennis marathon.  The marathon has room for 24 x 4 participants. 
 
My idea was to have a table with the columns "hour" [0-23], "time" and "name", and pre-fill that table with 4 rows for...]]></description>
			<content:encoded><![CDATA[<div>I'm developing a web page for a friend that allows participants of a sports event to &quot;claim&quot; a slot in a 24 hour tennis marathon.  The marathon has room for 24 x 4 participants.<br />
<br />
My idea was to have a table with the columns &quot;hour&quot; [0-23], &quot;time&quot; and &quot;name&quot;, and pre-fill that table with 4 rows for each hour that have empty time and names columns.<br />
<br />
Then, when someone fills in the form stating his name and the hour he wants to play, I'd update the table using something like<br />
<br />
 <pre style="margin:20px; line-height:13px">UPDATE slots SET time = NOW(), name = &quot;John Doe&quot;<br />
WHERE hour=14 AND name=&quot;&quot;<br />
BUT AT MOST 1 ROW</pre><br />
and then I'd check PHP's mysql_affected_rows() to see if the slot was claimed successfully. Because if 5 people are  trying to enroll for the same hour simultaneously, one of the attempts will have to fail.<br />
<br />
I can't find a way to do this. So, my design is probably incorrect? Any suggestions how to tackle this? Thanks<br />
<br />
Joris</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>jorisb</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231224.html</guid>
		</item>
		<item>
			<title><![CDATA[real client's project..please help optimizing design!!]]></title>
			<link>http://www.daniweb.com/forums/thread230917.html</link>
			<pubDate>Sat, 17 Oct 2009 11:56:43 GMT</pubDate>
			<description><![CDATA[Right, I poster earlier with a practice table I was working on. I appreciated the reply and have been working on that.. but yesterday I got a real client's project. 
 
I have been given the task of optimizing the database design.  
The database keeps track of the transactions the company makes. A...]]></description>
			<content:encoded><![CDATA[<div>Right, I poster earlier with a practice table I was working on. I appreciated the reply and have been working on that.. but yesterday I got a real client's project.<br />
<br />
I have been given the task of optimizing the database design. <br />
The database keeps track of the transactions the company makes. A transaction is made and records are stored in several different tables.<br />
<br />
<br />
These are the tables:<br />
<br />
Ledger<br />
Group <br />
User <br />
Opening Balance<br />
Transaction<br />
Transaction Type<br />
<br />
<br />
<br />
 The client would like <br />
<br />
1) the data to be stored in ONE location and not 2 different places<br />
<br />
2) to save disk space<br />
<br />
3) prevent duplicate entries being <br />
<br />
<br />
Any ideaS? I wont post the current design of the database unless necessary as I would like to try and do it all by myself but some pointers would be appreciated.<br />
<br />
Initially I was thinking of denormalization. Eradicating the multiple tables and placing all data in one table. But this might not be the best strategy. How would you do it? What practices would you use?<br />
<br />
ANY help would be appreciated. <br />
<br />
Thanks!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>badmanmc</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230917.html</guid>
		</item>
		<item>
			<title>Help me please</title>
			<link>http://www.daniweb.com/forums/thread230435.html</link>
			<pubDate>Thu, 15 Oct 2009 15:53:09 GMT</pubDate>
			<description>I request the assistance I work on the  library database,  But I have  problem on the erd and relationship between entity ,if any one can help me  I am grateful to him . 
this my project if any one can add some entity and the erd please: 
The system contains entities that act and participate with...</description>
			<content:encoded><![CDATA[<div>I request the assistance I work on the  library database,  But I have  problem on the erd and relationship between entity ,if any one can help me  I am grateful to him .<br />
this my project if any one can add some entity and the erd please:<br />
The system contains entities that act and participate with the system , these entities are :<br />
<br />
Employee Entity : each employee has an ID, Name, DOB , Address , telephone # , and supervised by other employee. The employee deal with supplier who supply the books, and treat each order comes from customer <br />
<br />
Book Entity : each book has an ID , Name , Author Name , Book Category , and Price of the book.<br />
<br />
Customer Entity : each customer has an ID, Name, Address , Telephone # , the customer is person who borrowing books from the library .<br />
<br />
Supplier Entity :  each supplier has an ID , Name , Telephone # , Address , the supplier is supply the library with different category of books.<br />
<br />
Order Entity : each order has an ID , order date , delivery date , ID for the employee , and the ID for the customer who borrowed the books , Quantity of the order .</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>huss_584</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230435.html</guid>
		</item>
		<item>
			<title>Is this database structure correct? Please help</title>
			<link>http://www.daniweb.com/forums/thread229969.html</link>
			<pubDate>Wed, 14 Oct 2009 00:34:57 GMT</pubDate>
			<description>I am fairly new to mysql and wanted to practice making a database and tables. As well as filling the tables with made up data and then practicing queries. I wanted to emulate a real life database project.  
 
So I decided to make a database for a Car Dealership.  
 
the database consists of three...</description>
			<content:encoded><![CDATA[<div>I am fairly new to mysql and wanted to practice making a database and tables. As well as filling the tables with made up data and then practicing queries. I wanted to emulate a real life database project. <br />
<br />
So I decided to make a database for a Car Dealership. <br />
<br />
the database consists of three tables...Car...Buyer..Repairs. The structure is displayed below. <br />
<br />
<br />
CAR table - <br />
<br />
car_id int(5) primary key <br />
make varchar(15) <br />
model varchar(15) <br />
year int(4) <br />
origin varchar(15) <br />
buyer int(5) foreign key references buyer_id in the BUYER table <br />
cost double(5,2) <br />
<br />
<br />
<br />
BUYER table - <br />
<br />
buyer_id int(5) primary key <br />
name varchar(20) <br />
address varchar(20) <br />
tel int(10) <br />
car_id int(5) foreign key references car_id in the CAR table <br />
<br />
<br />
REPAIRS table- <br />
<br />
part_id int(5) primary key <br />
origin varchar(15) <br />
cost double(5,2) <br />
car_id int(5) foreign key references car_id in the CAR table <br />
<br />
<br />
(SCREENSHOT ATTACHED)<br />
<br />
<br />
Do you see any problems in this structure? <br />
anything I should have done differently? <br />
anything I could do to improve database performance? <br />
<br />
Please bare with me as I am new to this and wish to be a DBA one day soon! <br />
<br />
All comments will be appreciated!! <br />
<br />
Thanks people</div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12112&amp;d=1255482070" target="_blank">db.JPG</a> (80.6 KB)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>badmanmc</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229969.html</guid>
		</item>
		<item>
			<title>3NF Advice</title>
			<link>http://www.daniweb.com/forums/thread229538.html</link>
			<pubDate>Mon, 12 Oct 2009 13:26:23 GMT</pubDate>
			<description>Hi I am sitting with an flat db file, and need it converted to 3NF 
 
Example: 
ProductID      Published           Title                  Authors 
1                      2000           Car Mech.         Bill Meyer, Peter Daniels  
   
I have split this structure in 3 tables: 
Book 
Author...</description>
			<content:encoded><![CDATA[<div>Hi I am sitting with an flat db file, and need it converted to 3NF<br />
<br />
Example:<br />
ProductID      Published           Title                  Authors<br />
1                      2000           Car Mech.         Bill Meyer, Peter Daniels <br />
  <br />
I have split this structure in 3 tables:<br />
Book<br />
Author<br />
Author_Book<br />
<br />
In Book I have the following fields: (PrimaryKey)ProductID, Producttitle, Published.<br />
<br />
In Author I have: (PrimaryKey)AuthorID, Firstname, Lastname<br />
<br />
Ans in Author_Book I have: ProductID, Author<br />
<br />
<br />
So, one book can have many authors, and one author can have many books. It must be a many-many relationship. <br />
Have I thought correctly, and made a proper 3NF?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>hasse76</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229538.html</guid>
		</item>
		<item>
			<title>database design for photographs</title>
			<link>http://www.daniweb.com/forums/thread228655.html</link>
			<pubDate>Thu, 08 Oct 2009 19:57:33 GMT</pubDate>
			<description>Hi 
I would like to create a database to classify and control all the photos that I have stored in my computer. 
It is clear that I need one table PHOTOS with attributes of ID, name, camera and date. 
Second table would be DATA, including aperture, ISO, fstop, focal length, and so. 
Then come the...</description>
			<content:encoded><![CDATA[<div>Hi<br />
I would like to create a database to classify and control all the photos that I have stored in my computer.<br />
It is clear that I need one table PHOTOS with attributes of ID, name, camera and date.<br />
Second table would be DATA, including aperture, ISO, fstop, focal length, and so.<br />
Then come the problem: I would like to be able to include tags, for example portrait, landscape, etc, but some are subclasses, for example in portrait&gt;family&gt;my kids.<br />
How can I construct the table, simply a list of tags each with an ID? And how do I relate the photo ID to the tags, if there are , say 6 for a photo?<br />
And same problem with the lat table LOCATION in the computer: my files are stored in folders by years and inside the year, dates. I don't know how to construct the table for this.<br />
Can you offer any help? (I am VERY new to databases, but I will learn)<br />
THANK you in advance!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>ana.gr</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread228655.html</guid>
		</item>
		<item>
			<title>Problem with Database Design</title>
			<link>http://www.daniweb.com/forums/thread227468.html</link>
			<pubDate>Sat, 03 Oct 2009 18:07:30 GMT</pubDate>
			<description>Hi! 
 
I am a student and I am working on database that concerns customer-order-product relationship. When designing it I encountered an issue that I do not really know how to solve it in the way it seems reasonable and obeys Normalization process. I would appreciate for any assistance. 
...</description>
			<content:encoded><![CDATA[<div>Hi!<br />
<br />
I am a student and I am working on database that concerns customer-order-product relationship. When designing it I encountered an issue that I do not really know how to solve it in the way it seems reasonable and obeys Normalization process. I would appreciate for any assistance.<br />
<br />
Description of my problem:<br />
We have product for instance T-shirt that can have different sizes and colors and each of this specific combination has quantity (<a rel="nofollow" class="t" href="http://img251.imageshack.us/img251/8871/products.jpg" target="_blank">http://img251.imageshack.us/img251/8871/products.jpg</a>)<br />
Next I created relation between Orders and Products as many-to-many (<a rel="nofollow" class="t" href="http://img406.imageshack.us/img406/8471/orderdetails.jpg" target="_blank">http://img406.imageshack.us/img406/8...derdetails.jpg</a>). And here problems starts… In Order_Details table if someone order 5x of T-shirt with size S and color blue, and then 3x of the same T-shirt but with M size I will have repeated some values. Another thing is that Size and Color attributes rely only only on ProductFK Key and not the whole Key (OrderFK-ProductFK) so I moved these details to another table like here(<a rel="nofollow" class="t" href="http://img18.imageshack.us/img18/3507/productorderdetails.jpg" target="_blank">http://img18.imageshack.us/img18/350...derdetails.jpg</a>), but now arise another problem Quantity attribute… in my it should be placed in Order_Details, right ? The thing is now I ended up with basically the same table like Product_Size_Color (<a rel="nofollow" class="t" href="http://img251.imageshack.us/img251/8871/products.jpg" target="_blank">http://img251.imageshack.us/img251/8871/products.jpg</a>) but without Quantity attribute which we do not need here since I assume it should be in Order_Details table. How I can combine it altogether to get consistent database ?<br />
<br />
Whole database until now looks like this (<a rel="nofollow" class="t" href="http://img18.imageshack.us/img18/8130/wholedatabase.jpg" target="_blank">http://img18.imageshack.us/img18/8130/wholedatabase.jpg</a>)<br />
If there is anything else that in Your opinion is bad please let me know.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>kkris1983</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227468.html</guid>
		</item>
		<item>
			<title>ERD for social networking website</title>
			<link>http://www.daniweb.com/forums/thread226797.html</link>
			<pubDate>Wed, 30 Sep 2009 13:39:05 GMT</pubDate>
			<description>Hi, 
 
I designed this ERD for a small social networking website (1-2 million user), and I would love to get experts feedback on the initial design 
 
http://www.seegh.com/erd.png 
 
Thanks In Advance 
Regards. 
Yehia A.Salam</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I designed this ERD for a small social networking website (1-2 million user), and I would love to get experts feedback on the initial design<br />
<br />
<a rel="nofollow" class="t" href="http://www.seegh.com/erd.png" target="_blank">http://www.seegh.com/erd.png</a><br />
<br />
Thanks In Advance<br />
Regards.<br />
Yehia A.Salam</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>yehiasalam</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226797.html</guid>
		</item>
		<item>
			<title>online library management system</title>
			<link>http://www.daniweb.com/forums/thread226131.html</link>
			<pubDate>Sun, 27 Sep 2009 15:37:05 GMT</pubDate>
			<description>please give me information on hw to do project on  online library management system ...if any one have done the project please send me the codes for the same...</description>
			<content:encoded><![CDATA[<div>please give me information on hw to do project on  online library management system ...if any one have done the project please send me the codes for the same...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>chaitragn</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226131.html</guid>
		</item>
		<item>
			<title>Movie Database</title>
			<link>http://www.daniweb.com/forums/thread225682.html</link>
			<pubDate>Fri, 25 Sep 2009 11:04:52 GMT</pubDate>
			<description>Hi, 
 
What would be the best way to have film found from a database of films using a number drop down menus and maybe a search bar? 
 
The results would be displayed in a list. 
 
Wht would be the best way to build this? 
 
Thanks</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
What would be the best way to have film found from a database of films using a number drop down menus and maybe a search bar?<br />
<br />
The results would be displayed in a list.<br />
<br />
Wht would be the best way to build this?<br />
<br />
Thanks<br />
<br />
Dan</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>audiomandan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225682.html</guid>
		</item>
		<item>
			<title>Database Newbie</title>
			<link>http://www.daniweb.com/forums/thread225577.html</link>
			<pubDate>Fri, 25 Sep 2009 03:35:26 GMT</pubDate>
			<description><![CDATA[Hi all,  
 
 I'm just starting to dabble in databases and I'm a little lost. 
I have a couple of questions: 
 
I have two excel spreadsheets containing employee records & equipment records respectively. For MS Access, I simply import these spreadsheets into MS Access. Is this the way to do it on...]]></description>
			<content:encoded><![CDATA[<div>Hi all, <br />
<br />
 I'm just starting to dabble in databases and I'm a little lost.<br />
I have a couple of questions:<br />
<br />
I have two excel spreadsheets containing employee records &amp; equipment records respectively. For MS Access, I simply import these spreadsheets into MS Access. Is this the way to do it on mysql and other dbrm apps (importing data from spreadsheets) or is there some other standard way ?<br />
<br />
What are the common ways to create the tables that are worked on in dbrm apps ? <br />
<br />
I googled and it seems that everyone creates the tables using scripts and not spreadsheets ... so how do we input chunks of data (ie.  120 employee records) into these tables ?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>EshenZero</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225577.html</guid>
		</item>
		<item>
			<title>database design for a questionaire type form</title>
			<link>http://www.daniweb.com/forums/thread224928.html</link>
			<pubDate>Tue, 22 Sep 2009 19:57:35 GMT</pubDate>
			<description>I have an idea of the design but I want to know if it wont impact performance. I have a student form consisting of Qu like: 
 
- Do you have internet access 
- Relationship 
- Do you want to pay by cheque, credit card + other options 
- etc 
 
So I wanted to create 2 tables as thus: 
 
tblDataTypes</description>
			<content:encoded><![CDATA[<div>I have an idea of the design but I want to know if it wont impact performance. I have a student form consisting of Qu like:<br />
<br />
- Do you have internet access<br />
- Relationship<br />
- Do you want to pay by cheque, credit card + other options<br />
- etc<br />
<br />
So I wanted to create 2 tables as thus:<br />
<br />
tblDataTypes<br />
<br />
-id<br />
-value<br />
<br />
<br />
tblRelations<br />
<br />
-ID<br />
-parentID<br />
-childID<br />
<br />
Examples:<br />
<br />
tblDataTypes:<br />
ID Value<br />
1 Relationship<br />
2 Internet Access<br />
3 Payment<br />
4 Married<br />
5 Single<br />
6 Divorced<br />
7 Yes<br />
8 No<br />
9 Cheques<br />
10 Credit Card <br />
etc<br />
<br />
tblRelations:<br />
ID parentID childID<br />
1 1 4<br />
2 1 5<br />
3 1 6<br />
4 2 7<br />
5 2 8<br />
6 3 9<br />
7 3 10<br />
etc<br />
<br />
I did it this way so that even if more questions are added after, the table does not have to be re-built, instead having the parent child relationship, i can easily extend the form data. <br />
The problem am having is now, if i want to relate these tables to the students, how do i do that. Would i <br />
<br />
1) do a table consisting of say 10 columns for 10 different questions with their id's as foreign:<br />
ex: <br />
tblsurvey<br />
ID studentID internetAccessID relationshipID paymentID ...<br />
1 1 4 2 6<br />
<br />
The foreign keys above are obtained by quering the 2 tables above and the primary key of tblRelations inserted in tblSurvey<br />
<br />
2) each question relates to studentID<br />
ex:<br />
tblSurvey<br />
ID studentID answerID<br />
1 1 4<br />
2 1 2<br />
3 1 6<br />
etc<br />
<br />
Option 2) will have many rows and I think that would impact on performance for number of searches that have to be made while option 1) has a problem of expansion. What if the form needs to be updated and more questions added, so option 1) table's design would have to be re-done.<br />
<br />
Any suggestions?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum142.html">Database Design</category>
			<dc:creator>kpeeroo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224928.html</guid>
		</item>
	</channel>
</rss>
