If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database Desgin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-04, 02:00
mfdarvesh mfdarvesh is offline
Registered User
 
Join Date: Nov 2004
Posts: 23
Database Desgin

Dear Friends

I want to desing a database in which I want to Handel three things:

1. Personal Information
2. Studies (Academic Qualification)
3. Family Details
4. Job Histroy

Looking these I come to know that above all are separate entities, Please help me how I can design a database for above mentioned entities.

The problem is I have to Print a single report containing all above data.

If I create a seperate table for each entity considering Peronal Info as Master table and rest all as Child tables, how can a write a single query containing all above information. If we consider one master and three detail tables, then join create a problem and correct data not obtained.

Please help me in this regard, how can I solve this problem
Reply With Quote
  #2 (permalink)  
Old 11-25-04, 03:19
RedAxl RedAxl is offline
Registered User
 
Join Date: Nov 2004
Posts: 39
What specific report output format do you want?
And what Database and programming language are you using?
Reply With Quote
  #3 (permalink)  
Old 11-25-04, 10:13
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
I need to understand a few things before I can be much help.

1) When is this assignment due?
2) What school are you attending?
3) What class is the assignment for?
4) What have you covered in class so far?

-PatP
Reply With Quote
  #4 (permalink)  
Old 11-25-04, 22:38
mfdarvesh mfdarvesh is offline
Registered User
 
Join Date: Nov 2004
Posts: 23
Dear RedAxl and Pat Phelan

Thanks for your kind comments.

I want to use SQL Server and Visual Basic and for reporting I will use Crystal Reports.

No Pat, no assignment, no class, I acutally learning SQL at graduate level, thas why I have picked a dummy project just for testing my skills.
Reply With Quote
  #5 (permalink)  
Old 02-28-05, 01:27
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
Books Online is your Bible.

Start by searching for the SELECT statement, and read the sections related to it thoroughly, particulary the section dealing with JOINing tables.

That will tell you what you need to know to combine data from different tables into one report.
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
Reply With Quote
Reply

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On