Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 26-08-2007, 02:58 PM   #1 (permalink)
In The Zone
 
santu_29's Avatar
 
Join Date: Jun 2005
Location: Delhi
Posts: 232
Arrow Need Help - Normalization


Can anyone check if the following tables of a database satisfy 1st, 2nd and 3rd normal forms, Thanks..

Tables :-

Patient = {pat_id, pat_name, pat_age, pat_sex, pat_weight, pat_height, date_id, opd_no, pat_father, pat_dob, pat_religion, appt_id, pat_addr}

Employee = {emp_id, emp_id, emp_name, emp_age, emp_sex, dept_id, emp_post, emp_desig,emp_pass}

Department = {dept_id, dept_name, dept_now, dept_hod, dept_non, dept_nod, emp_id}

Bed {bed_no, dept_id, bed_status}

OT {ot_id, dept_id, ot_non, emp_id}

Appointment = {appt_id, emp_id, dept_id, ot_id}

Date = {dof, dos, doa, dod}

Casesheet = {pat_id, cr_no, er_id, ir_id, mc_id, tr_id}

Inventory = {inv_id, inv_type, inv_quant, inv_name}

Order = {order_id, order_status, emp_id}

Record = {cr_no, er_mod, er_started, er_stopped, bl_id, ps_id, mc_id, er_rec}

Blood/Serum Chart = {bl_id, hb, tlc, dlc, platelets, hematocrit, esr, rbc_indices, na_k_cl, t_ca/ion_ca, phosphate, urea, sgot, total_protein, blood_sugar}

Peripheral Smear = {ps_id, microscopy, sugar, ph/ketones, stool, cells, uva_cysts, occult_blood, fat, csf, tcc, protein, latex, hiv, dengue, urine, stool, stool_ph, x-ray, usg, ct}

Monitoring Chart = {mc_id, mc_time,mc_date, temp,hr, crt, bp, lc, grunting, cyanosis}
__________________
Unless you have a dream, you are not going to achieve anything in life.
Shoot for the moon, even if you miss, youll fall in the stars.
******************ÏMPÕ§§ÏßL£ ϧ ÑÕTHÏÑG ******************
santu_29 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-08-2007, 05:15 PM   #2 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: Need Help - Normalization

At first quick look, these tables seems to be in 3NF.
Only I've checked for Primary Key, Foreign key. I've also checked (some) tables for dependencies.

SORRY, but I have to check in details.
But as of my experience, it may be in 3NF.
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 27-08-2007, 12:10 AM   #3 (permalink)
In The Zone
 
santu_29's Avatar
 
Join Date: Jun 2005
Location: Delhi
Posts: 232
Talking Re: Need Help - Normalization

Quote:
Originally Posted by shirish_nagar
At first quick look, these tables seems to be in 3NF.
Only I've checked for Primary Key, Foreign key. I've also checked (some) tables for dependencies.

SORRY, but I have to check in details.
But as of my experience, it may be in 3NF.
please please please check it in detail.. itll help me get some grasp on normalization cos thats where i always get messed up. thanks
p.s.- fields with suffix 'id' are the primary keys and foreign keys.

can get the tables here > http://pastebin.com/m5088a88c
__________________
Unless you have a dream, you are not going to achieve anything in life.
Shoot for the moon, even if you miss, youll fall in the stars.
******************ÏMPÕ§§ÏßL£ ϧ ÑÕTHÏÑG ******************
santu_29 is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by Charan

Advertisement




All times are GMT +5.5. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2