Click here to Skip to main content
15,899,013 members
Home / Discussions / Database
   

Database

 
QuestionMy SQl error while sending to database Pin
Inderjeet Kaur23-Aug-12 20:25
Inderjeet Kaur23-Aug-12 20:25 
AnswerRe: My SQl error while sending to database Pin
Shameel23-Aug-12 21:05
professionalShameel23-Aug-12 21:05 
GeneralRe: My SQl error while sending to database Pin
Inderjeet Kaur23-Aug-12 21:21
Inderjeet Kaur23-Aug-12 21:21 
GeneralRe: My SQl error while sending to database Pin
Shameel23-Aug-12 23:31
professionalShameel23-Aug-12 23:31 
AnswerRe: My SQl error while sending to database Pin
PIEBALDconsult24-Aug-12 3:41
mvePIEBALDconsult24-Aug-12 3:41 
GeneralRe: My SQl error while sending to database Pin
Eddy Vluggen24-Aug-12 5:22
professionalEddy Vluggen24-Aug-12 5:22 
Questionhow to start Schema design? Pin
HimanshuForever23-Aug-12 19:03
HimanshuForever23-Aug-12 19:03 
AnswerRe: how to start Schema design? Pin
Niladri_Biswas23-Aug-12 19:21
Niladri_Biswas23-Aug-12 19:21 
GeneralRe: how to start Schema design? Pin
HimanshuForever23-Aug-12 19:31
HimanshuForever23-Aug-12 19:31 
GeneralRe: how to start Schema design? Pin
Niladri_Biswas23-Aug-12 19:58
Niladri_Biswas23-Aug-12 19:58 
AnswerRe: how to start Schema design? Pin
Eddy Vluggen24-Aug-12 22:29
professionalEddy Vluggen24-Aug-12 22:29 
QuestionFind phonetic word in SQL Pin
chandra reinhart23-Aug-12 5:07
chandra reinhart23-Aug-12 5:07 
AnswerRe: Find phonetic word in SQL Pin
Pete O'Hanlon23-Aug-12 5:29
mvePete O'Hanlon23-Aug-12 5:29 
GeneralRe: Find phonetic word in SQL Pin
chandra reinhart11-Sep-12 19:56
chandra reinhart11-Sep-12 19:56 
AnswerRe: Find phonetic word in SQL Pin
Niladri_Biswas23-Aug-12 19:42
Niladri_Biswas23-Aug-12 19:42 
GeneralRe: Find phonetic word in SQL Pin
chandra reinhart11-Sep-12 19:53
chandra reinhart11-Sep-12 19:53 
QuestionSQL Table Grouping Pin
milo-xml20-Aug-12 3:56
professionalmilo-xml20-Aug-12 3:56 
AnswerRe: SQL Table Grouping Pin
David Mujica20-Aug-12 4:54
David Mujica20-Aug-12 4:54 
GeneralRe: SQL Table Grouping Pin
milo-xml20-Aug-12 6:19
professionalmilo-xml20-Aug-12 6:19 
AnswerRe: SQL Table Grouping Pin
Paul Conrad20-Aug-12 6:26
professionalPaul Conrad20-Aug-12 6:26 
GeneralRe: SQL Table Grouping Pin
milo-xml20-Aug-12 6:36
professionalmilo-xml20-Aug-12 6:36 
AnswerRe: SQL Table Grouping Pin
Paul Conrad20-Aug-12 6:43
professionalPaul Conrad20-Aug-12 6:43 
I am suspecting you probably need a select subquery to get the last row that you had updated the sample dataset with, because my query doesn't give you the 1920 in the EW column.

The subquery might be one in which you get the minimum timestamp and the maximum timestamp, then the actual main query pulls the other information out of the subquery. essentially, David's query would be the subquery. Just a thought.

You may want to do this as a stored procedure instead.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus


modified 20-Aug-12 13:10pm.

GeneralRe: SQL Table Grouping Pin
milo-xml20-Aug-12 8:45
professionalmilo-xml20-Aug-12 8:45 
GeneralRe: SQL Table Grouping Pin
Paul Conrad20-Aug-12 8:52
professionalPaul Conrad20-Aug-12 8:52 
GeneralRe: SQL Table Grouping Pin
Paul Conrad20-Aug-12 6:22
professionalPaul Conrad20-Aug-12 6:22 

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.