Click here to Skip to main content
15,891,828 members
Home / Discussions / Database
   

Database

 
GeneralRe: DB Design-Going in circles Pin
Colin Angus Mackay9-May-05 4:44
Colin Angus Mackay9-May-05 4:44 
GeneralRe: DB Design-Going in circles Pin
hp1089-May-05 5:06
hp1089-May-05 5:06 
GeneralRe: DB Design-Going in circles Pin
Colin Angus Mackay9-May-05 5:13
Colin Angus Mackay9-May-05 5:13 
GeneralRe: DB Design-Going in circles Pin
hp1089-May-05 5:30
hp1089-May-05 5:30 
GeneralRe: DB Design-Going in circles Pin
Colin Angus Mackay9-May-05 5:57
Colin Angus Mackay9-May-05 5:57 
GeneralRe: DB Design-Going in circles Pin
hp1089-May-05 21:56
hp1089-May-05 21:56 
GeneralRe: DB Design-Going in circles Pin
Colin Angus Mackay9-May-05 22:47
Colin Angus Mackay9-May-05 22:47 
GeneralRe: DB Design-Going in circles Pin
hp1089-May-05 23:57
hp1089-May-05 23:57 
I believe you have a point because:
(quick type, excuse mistakes - just to make a point)

select p.*, c.companyname from person p inner join personcompany pc on p.personid = pc.personid
inner join company c on pc.companyid = c.companyid where
pc.relationtype="IsEmployee"
group by c.companyid

would give the same result as the following which does not use the where clause:

select p.*, c.companyname from person p inner join company-employs-person pc on p.personid = pc.personid
inner join company c on pc.companyid = c.companyid
group by c.companyid


I'll experiment with both and see which is faster.Thanks.
GeneralRe: DB Design-Going in circles Pin
hp10810-May-05 5:47
hp10810-May-05 5:47 
GeneralRe: DB Design-Going in circles Pin
Colin Angus Mackay10-May-05 6:03
Colin Angus Mackay10-May-05 6:03 
GeneralRe: DB Design-Going in circles Pin
hp10810-May-05 6:34
hp10810-May-05 6:34 
GeneralRe: DB Design-Going in circles Pin
Colin Angus Mackay10-May-05 6:53
Colin Angus Mackay10-May-05 6:53 
GeneralRe: DB Design-Going in circles Pin
hp10810-May-05 7:24
hp10810-May-05 7:24 
GeneralRe: DB Design-Going in circles Pin
jasncab10-May-05 14:29
jasncab10-May-05 14:29 
GeneralRe: DB Design-Going in circles Pin
hp10810-May-05 23:21
hp10810-May-05 23:21 
GeneralOracle 10G Pin
Member 17906978-May-05 22:47
Member 17906978-May-05 22:47 
GeneralRe: Oracle 10G Pin
jasncab11-May-05 6:07
jasncab11-May-05 6:07 
QuestionSQL Server 2000 to Access ? Pin
WDI8-May-05 7:01
WDI8-May-05 7:01 
AnswerRe: SQL Server 2000 to Access ? Pin
Tad McClellan8-May-05 14:15
professionalTad McClellan8-May-05 14:15 
AnswerRe: SQL Server 2000 to Access ? Pin
Member 17906978-May-05 22:40
Member 17906978-May-05 22:40 
GeneralRe: SQL Server 2000 to Access ? Pin
WDI9-May-05 10:15
WDI9-May-05 10:15 
GeneralDAAB Compatibility with Oracle Database 10G Pin
Member 17906977-May-05 23:11
Member 17906977-May-05 23:11 
Generalmultiple database Pin
Anonymous7-May-05 20:51
Anonymous7-May-05 20:51 
GeneralRe: multiple database Pin
Member 17906977-May-05 23:16
Member 17906977-May-05 23:16 
GeneralRe: multiple database Pin
Colin Angus Mackay7-May-05 23:53
Colin Angus Mackay7-May-05 23:53 

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.