Click here to Skip to main content
15,895,011 members
Home / Discussions / Database
   

Database

 
GeneralRe: Query Question Pin
gnjunge26-Dec-08 2:00
gnjunge26-Dec-08 2:00 
GeneralRe: Query Question Pin
Wendelius26-Dec-08 4:57
mentorWendelius26-Dec-08 4:57 
GeneralRe: Query Question Pin
gnjunge26-Dec-08 21:48
gnjunge26-Dec-08 21:48 
GeneralRe: Query Question Pin
Wendelius26-Dec-08 22:14
mentorWendelius26-Dec-08 22:14 
GeneralRe: Query Question Pin
gnjunge26-Dec-08 22:59
gnjunge26-Dec-08 22:59 
GeneralRe: Query Question Pin
Wendelius27-Dec-08 2:49
mentorWendelius27-Dec-08 2:49 
GeneralRe: Query Question Pin
gnjunge27-Dec-08 5:23
gnjunge27-Dec-08 5:23 
GeneralRe: Query Question Pin
Wendelius27-Dec-08 5:54
mentorWendelius27-Dec-08 5:54 
Hmm, let's take the car and part example. What happens if you use only one partid and then take the count as you proposed. For example if you have in the database:
carid partid
1 1
1 2
1 3
2 2
2 3
2 4

and if, without knowing what's in the database, use either partid 1 or 4 (user defines all partid's 1-4). In the previous case, carid 2 is eliminated and in the latter carid 1 is eliminated. Or perhaps I didn't understand the requirement.

The need to optimize rises from a bad design.My articles[^]

GeneralRe: Query Question Pin
gnjunge27-Dec-08 20:36
gnjunge27-Dec-08 20:36 
GeneralRe: Query Question Pin
Wendelius27-Dec-08 21:56
mentorWendelius27-Dec-08 21:56 
GeneralRe: Query Question Pin
gnjunge27-Dec-08 21:59
gnjunge27-Dec-08 21:59 
GeneralRe: Query Question Pin
Wendelius27-Dec-08 22:15
mentorWendelius27-Dec-08 22:15 
GeneralRe: Query Question Pin
Jon_Boy30-Dec-08 14:26
Jon_Boy30-Dec-08 14:26 
GeneralRe: Query Question Pin
Wendelius30-Dec-08 19:34
mentorWendelius30-Dec-08 19:34 
QuestionQuery Help Pin
Saiyed Alam24-Dec-08 21:13
Saiyed Alam24-Dec-08 21:13 
AnswerRe: Query Help Pin
Wendelius25-Dec-08 7:13
mentorWendelius25-Dec-08 7:13 
QuestionSplit function Pin
cbe_pav24-Dec-08 1:43
cbe_pav24-Dec-08 1:43 
AnswerRe: Split function Pin
Paddy Boyd24-Dec-08 1:53
Paddy Boyd24-Dec-08 1:53 
AnswerRe: Split function Pin
cbe_pav24-Dec-08 17:41
cbe_pav24-Dec-08 17:41 
AnswerRe: Split function Pin
Niladri_Biswas1-Jul-09 18:33
Niladri_Biswas1-Jul-09 18:33 
QuestionSql server 2005 Pin
Nath23-Dec-08 22:59
Nath23-Dec-08 22:59 
AnswerRe: Sql server 2005 Pin
Krish - KP24-Dec-08 0:08
Krish - KP24-Dec-08 0:08 
AnswerRe: Sql server 2005 Pin
Wendelius24-Dec-08 1:30
mentorWendelius24-Dec-08 1:30 
GeneralRe: Sql server 2005 Pin
Nath24-Dec-08 1:54
Nath24-Dec-08 1:54 
GeneralRe: Sql server 2005 Pin
Wendelius24-Dec-08 2:09
mentorWendelius24-Dec-08 2:09 

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.