Click here to Skip to main content
16,008,183 members
Home / Discussions / Database
   

Database

 
GeneralRe: Datetime Pin
Christian Graus9-Feb-05 10:45
protectorChristian Graus9-Feb-05 10:45 
GeneralResult Set Pin
Esmo20009-Feb-05 5:21
Esmo20009-Feb-05 5:21 
GeneralRe: Result Set Pin
Colin Angus Mackay9-Feb-05 6:02
Colin Angus Mackay9-Feb-05 6:02 
GeneralRe: Result Set Pin
Esmo20009-Feb-05 9:04
Esmo20009-Feb-05 9:04 
GeneralRe: Result Set Pin
Christian Graus9-Feb-05 10:49
protectorChristian Graus9-Feb-05 10:49 
GeneralViewing and editing several connected tables in a DataGrid Pin
j1hammer9-Feb-05 2:46
j1hammer9-Feb-05 2:46 
GeneralDataGrid sorting Pin
Mr.Cooper9-Feb-05 0:38
Mr.Cooper9-Feb-05 0:38 
GeneralSQL Query Required ! Pin
Zishan Haider8-Feb-05 23:31
Zishan Haider8-Feb-05 23:31 
Hello,

I have a table Order. There is a field called "Symbol", another field
called "Price",and several other fields. Now I want to select the
minimum price records with distinct "Symbol".

Id Symbol Price Volume Col1 Col2 Col3...
---------------------------------------------------------------------
1 AAA 19 1000 xxxx xxxx xxxx
2 AAA 40 4000 xxxx xxxx xxxx
3 CBC 150 50000 xxxx xxxx xxxx
4 CBC 149 4000 xxxx xxxx xxxx

I want records 1 and 4 to be selected, since CBC has shortest price 149
and AAA has shortest price 19. Can anyone help me out in this regard?

Thanks in advance
GeneralRe: SQL Query Required ! Pin
David Salter8-Feb-05 23:50
David Salter8-Feb-05 23:50 
GeneralRe: SQL Query Required ! Pin
Zishan Haider9-Feb-05 0:01
Zishan Haider9-Feb-05 0:01 
GeneralRe: SQL Query Required ! Pin
Mike Dimmick9-Feb-05 2:24
Mike Dimmick9-Feb-05 2:24 
GeneralRe: SQL Query Required ! Pin
Zishan Haider9-Feb-05 3:23
Zishan Haider9-Feb-05 3:23 
QuestionHow to set SAFEARRAY in CRecordset (ODBC) Pin
Anonymous8-Feb-05 10:10
Anonymous8-Feb-05 10:10 
GeneralNewbie Question Pin
Esmo20008-Feb-05 4:58
Esmo20008-Feb-05 4:58 
GeneralRe: Newbie Question Pin
Colin Angus Mackay8-Feb-05 6:21
Colin Angus Mackay8-Feb-05 6:21 
GeneralRe: Newbie Question Pin
Esmo20008-Feb-05 7:36
Esmo20008-Feb-05 7:36 
GeneralRe: Newbie Question Pin
Esmo20008-Feb-05 10:18
Esmo20008-Feb-05 10:18 
GeneralRe: Newbie Question Pin
Colin Angus Mackay8-Feb-05 11:39
Colin Angus Mackay8-Feb-05 11:39 
GeneralRe: Newbie Question Pin
Esmo20009-Feb-05 2:51
Esmo20009-Feb-05 2:51 
GeneralSPROC Input Parameters Pin
mav07077-Feb-05 14:29
mav07077-Feb-05 14:29 
GeneralRe: SPROC Input Parameters Pin
Colin Angus Mackay8-Feb-05 0:05
Colin Angus Mackay8-Feb-05 0:05 
GeneralRe: SPROC Input Parameters Pin
mav07078-Feb-05 2:28
mav07078-Feb-05 2:28 
GeneralDataTable Select Method Pin
numbrel7-Feb-05 14:15
numbrel7-Feb-05 14:15 
GeneralRe: DataTable Select Method Pin
Yulianto.7-Feb-05 14:54
Yulianto.7-Feb-05 14:54 
GeneralRe: DataTable Select Method Pin
numbrel7-Feb-05 15:13
numbrel7-Feb-05 15:13 

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.