Click here to Skip to main content
15,889,527 members
Home / Discussions / Database
   

Database

 
QuestionProblem WITH Data Accss Application Blocks DAAB Pin
adnanrafiq27-Jan-07 1:32
adnanrafiq27-Jan-07 1:32 
AnswerRe: Problem WITH Data Accss Application Blocks DAAB Pin
Colin Angus Mackay27-Jan-07 10:25
Colin Angus Mackay27-Jan-07 10:25 
AnswerRe: Problem WITH Data Accss Application Blocks DAAB Pin
Duncan Edwards Jones29-Jan-07 8:42
professionalDuncan Edwards Jones29-Jan-07 8:42 
Questionhow to insert data into two table when two tables depend on each other? Pin
Tridip Bhattacharjee26-Jan-07 20:54
professionalTridip Bhattacharjee26-Jan-07 20:54 
AnswerRe: how to insert data into two table when two tables depend on each other? Pin
Bassam Saoud26-Jan-07 23:20
Bassam Saoud26-Jan-07 23:20 
QuestionQuerying Distinct Users Pin
Skanless26-Jan-07 14:32
Skanless26-Jan-07 14:32 
AnswerRe: Querying Distinct Users Pin
M.H.1.2.326-Jan-07 20:03
M.H.1.2.326-Jan-07 20:03 
QuestionHow to get max on each row [modified] Pin
xoxoxoxoxoxox26-Jan-07 9:59
xoxoxoxoxoxox26-Jan-07 9:59 
Hi Guys,
I want to compare three columns on each row and get the maximum value. I tried using GREATEST(col1,col2,...) function but it didn't work (I hve SQL version 8.0 installed). Is there any way to get max of several colunms per row? Here is how it should look like.

===========================================================
ID, measurement_01, measurement_02, measurement_03, maximum
===========================================================
1, 300, 350, 325, 350
2, 225, 275, 400, 400
3, 100, 500, 300, 500
===========================================================

I'll appreciate any help

Thanks


-- modified at 16:06 Friday 26th January, 2007
QuestionRe: How to get max on each row Pin
andyharman26-Jan-07 10:03
professionalandyharman26-Jan-07 10:03 
AnswerRe: How to get max on each row Pin
xoxoxoxoxoxox26-Jan-07 10:09
xoxoxoxoxoxox26-Jan-07 10:09 
GeneralRe: How to get max on each row Pin
andyharman26-Jan-07 10:18
professionalandyharman26-Jan-07 10:18 
GeneralRe: How to get max on each row Pin
Michael Potter26-Jan-07 10:31
Michael Potter26-Jan-07 10:31 
GeneralRe: How to get max on each row [modified] Pin
xoxoxoxoxoxox26-Jan-07 11:08
xoxoxoxoxoxox26-Jan-07 11:08 
QuestionInt value as 0001 Pin
javierarka26-Jan-07 9:40
javierarka26-Jan-07 9:40 
AnswerRe: Int value as 0001 Pin
andyharman26-Jan-07 9:52
professionalandyharman26-Jan-07 9:52 
QuestionColumn ID in a Table wiht autoincrement value predetermined Pin
javierarka26-Jan-07 9:23
javierarka26-Jan-07 9:23 
AnswerRe: Column ID in a Table wiht autoincrement value predetermined Pin
andyharman26-Jan-07 9:50
professionalandyharman26-Jan-07 9:50 
AnswerRe: Column ID in a Table wiht autoincrement value predetermined Pin
Pete O'Hanlon26-Jan-07 10:05
mvePete O'Hanlon26-Jan-07 10:05 
QuestionCorrect way of databinding of foreign key? Pin
TrooperIronMan26-Jan-07 8:32
TrooperIronMan26-Jan-07 8:32 
QuestionUpdate Query using more than one table Pin
sayianjin26-Jan-07 5:55
sayianjin26-Jan-07 5:55 
AnswerRe: Update Query using more than one table Pin
andyharman26-Jan-07 7:25
professionalandyharman26-Jan-07 7:25 
QuestionCross databae table relation ship Pin
TUX2K25-Jan-07 23:37
TUX2K25-Jan-07 23:37 
QuestionConvert getdate() Pin
javierarka25-Jan-07 10:59
javierarka25-Jan-07 10:59 
AnswerRe: Convert getdate() Pin
andyharman25-Jan-07 22:49
professionalandyharman25-Jan-07 22:49 
AnswerRe: Convert getdate() Pin
Szemi9025-Jan-07 22:59
Szemi9025-Jan-07 22:59 

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.