Click here to Skip to main content
16,004,969 members
Home / Discussions / Database
   

Database

 
GeneralRe: Querying for unused parent entries Pin
Pete O'Hanlon1-Aug-07 0:09
mvePete O'Hanlon1-Aug-07 0:09 
GeneralRe: Querying for unused parent entries Pin
GregStevens1-Aug-07 4:56
GregStevens1-Aug-07 4:56 
Questionnewbie question: update across 2 tables Pin
spin vector31-Jul-07 2:50
spin vector31-Jul-07 2:50 
AnswerRe: newbie question: update across 2 tables Pin
Mike Dimmick31-Jul-07 3:03
Mike Dimmick31-Jul-07 3:03 
QuestionPart of Date Field Pin
Brendan Vogt31-Jul-07 1:14
Brendan Vogt31-Jul-07 1:14 
AnswerRe: Part of Date Field Pin
pmarfleet31-Jul-07 2:11
pmarfleet31-Jul-07 2:11 
GeneralRe: Part of Date Field Pin
Mike Dimmick31-Jul-07 2:57
Mike Dimmick31-Jul-07 2:57 
QuestionQuery need for the critical probs..., [modified] Pin
Member 387988131-Jul-07 1:05
Member 387988131-Jul-07 1:05 
Hi i need one more query...,
See i have records like this:

Id value edate
100 1000 10/13/2006
101 1300 12/21/2006
102 1250 09/19/2006
102 1765 4/28/2007
102 1845 5/4/2007
100 1500 3/21/2007
100 1750 6/1/2007
101 1200 4/21/2007
103 1000 12/12/2006

If i pass the month and year based on it my o/p want to come...,
See its diff from other queries...,
Suppose if i select month=5 and year =2007

My o/p will be:

Id value edate
100 1500 3/21/2007
101 1200 4/21/2007
102 1845 5/4/2007
103 1000 12/12/2006

Means See the above table:

for that id=100 its not taken final date record also and last entry record also...,
Based on the passing month & year,it has taken 3rd month record...,

Same time, see that id=102 taken 5th month record ,its not taken 4 th month record...,

See that id=103 dont have any other date record so its taken which one have value that one...,

Like that i need query...,
If u didnt get what i am asking,i am ready to explain more than this also...,
Advance thanks...,





-- modified at 7:16 Tuesday 31st July, 2007

Regards,
Magi

AnswerRe: Query need for the critical probs..., Pin
Krish - KP31-Jul-07 1:15
Krish - KP31-Jul-07 1:15 
GeneralRe: Query need for the critical probs..., Pin
Member 387988131-Jul-07 1:19
Member 387988131-Jul-07 1:19 
AnswerRe: Query need for the critical probs..., [modified] Pin
Krish - KP31-Jul-07 1:47
Krish - KP31-Jul-07 1:47 
GeneralRe: Query need for the critical probs..., [modified] Pin
Member 387988131-Jul-07 2:30
Member 387988131-Jul-07 2:30 
Questionsql columns Pin
tweety@net30-Jul-07 22:37
tweety@net30-Jul-07 22:37 
AnswerRe: sql columns Pin
Krish - KP30-Jul-07 22:45
Krish - KP30-Jul-07 22:45 
QuestionSQL Profiler Pin
Sachin Pimpale30-Jul-07 21:03
Sachin Pimpale30-Jul-07 21:03 
AnswerRe: SQL Profiler Pin
originSH30-Jul-07 22:13
originSH30-Jul-07 22:13 
GeneralRe: SQL Profiler Pin
Mike Dimmick30-Jul-07 22:53
Mike Dimmick30-Jul-07 22:53 
GeneralRe: SQL Profiler Pin
originSH31-Jul-07 0:11
originSH31-Jul-07 0:11 
QuestionNeed query for the table..., Pin
Member 387988130-Jul-07 18:22
Member 387988130-Jul-07 18:22 
AnswerRe: Need query for the table..., Pin
Krish - KP30-Jul-07 19:31
Krish - KP30-Jul-07 19:31 
GeneralRe: Need query for the table..., Pin
Member 387988130-Jul-07 20:12
Member 387988130-Jul-07 20:12 
AnswerRe: Need query for the table..., Pin
Krish - KP30-Jul-07 20:26
Krish - KP30-Jul-07 20:26 
GeneralRe: Need query for the table..., Pin
Member 387988130-Jul-07 20:34
Member 387988130-Jul-07 20:34 
GeneralRe: Need query for the table..., Pin
Krish - KP30-Jul-07 21:22
Krish - KP30-Jul-07 21:22 
GeneralRe: Need query for the table..., Pin
Member 387988130-Jul-07 21:39
Member 387988130-Jul-07 21:39 

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.