Click here to Skip to main content
15,894,362 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Statment Question... Pin
basementman12-May-03 6:01
basementman12-May-03 6:01 
GeneralRe: SQL Statment Question... Pin
Nick Parker28-Jul-03 8:03
protectorNick Parker28-Jul-03 8:03 
GeneralRe: SQL Statment Question... Pin
Jason Weibel28-Jul-03 8:07
Jason Weibel28-Jul-03 8:07 
GeneralRe: SQL Statment Question... Pin
Nick Parker31-Jul-03 10:30
protectorNick Parker31-Jul-03 10:30 
GeneralDetermining the oledbconnection is from oracle database Pin
Syed Abdul Khader7-May-03 23:46
Syed Abdul Khader7-May-03 23:46 
GeneralMaster-Detail WinForm Pin
itawil7-May-03 8:03
itawil7-May-03 8:03 
GeneralMS access relationships and ASP Pin
Sarvesvara (BVKS) Dasa6-May-03 22:40
Sarvesvara (BVKS) Dasa6-May-03 22:40 
GeneralRe: MS access relationships and ASP Pin
Jean-Marc Molina29-May-03 13:32
Jean-Marc Molina29-May-03 13:32 
Hi,

> The Dept head at the second table is linked with the EmpId in the first table by means of the relationships....

From your table definitions, I think DeptId is a foreign key that links the Employee to a Department.

> NOW, will it be possible for me to access the first table data, by querying the second table.

It depends of what you want to do. What do you mean by "access the first table data" ? Do you want to know the employees for a specific departement ?

Just a DB design tip :
- don't use prefix on your field names : Employee.Id or Department.Id are ok, Employee.EmpId or Department.DeptId/DeptHead is a redondance

JM. Molina

Web: http://goa.ifrance.com
Questionhow to access Paradox database? Pin
GreatSolar6-May-03 16:12
GreatSolar6-May-03 16:12 
GeneralHierarchical query Pin
Anonymous6-May-03 1:47
Anonymous6-May-03 1:47 
GeneralRe: Hierarchical query Pin
DiWa6-May-03 3:07
DiWa6-May-03 3:07 
GeneralRe: Hierarchical query Pin
James Simpson7-May-03 5:43
James Simpson7-May-03 5:43 
GeneralInstalling MySQL on Windows Pin
A Sha2-May-03 18:44
sussA Sha2-May-03 18:44 
GeneralRe: Installing MySQL on Windows Pin
Jon Sagara5-May-03 8:11
Jon Sagara5-May-03 8:11 
GeneralRe: Installing MySQL on Windows Pin
Jean-Marc Molina29-May-03 13:35
Jean-Marc Molina29-May-03 13:35 
GeneralPlease help me troubleshoot this SQL Statement Pin
MBoudet2-May-03 6:31
sussMBoudet2-May-03 6:31 
GeneralRe: Please help me troubleshoot this SQL Statement Pin
Chris Meech2-May-03 6:45
Chris Meech2-May-03 6:45 
GeneralRe: Please help me troubleshoot this SQL Statement Pin
Rein Hillmann2-May-03 17:19
Rein Hillmann2-May-03 17:19 
GeneralDocumentation tool for SQL Server DB's Pin
Jonas Follesø2-May-03 5:45
Jonas Follesø2-May-03 5:45 
AnswerRe: Documentation tool for SQL Server DB's Pin
Amit Chaudhary3-May-09 21:37
Amit Chaudhary3-May-09 21:37 
QuestionConnection Pooling - Bug in .NET ? Pin
John Honan2-May-03 2:12
John Honan2-May-03 2:12 
Questionlength of time a Connection to Database exists? Pin
sharathkv1231-May-03 18:23
sharathkv1231-May-03 18:23 
AnswerRe: length of time a Connection to Database exists? Pin
1-May-03 19:36
suss1-May-03 19:36 
AnswerRe: length of time a Connection to Database exists? Pin
J. Dunlap1-May-03 20:16
J. Dunlap1-May-03 20:16 
Question"Copy Project" and SQL ??? Pin
gman441-May-03 13:04
gman441-May-03 13:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.