Click here to Skip to main content
15,917,793 members
Home / Discussions / Database
   

Database

 
AnswerRe: mcd and history table Pin
Paddy Boyd2-Feb-09 2:03
Paddy Boyd2-Feb-09 2:03 
AnswerRe: mcd and history table Pin
Colin Angus Mackay2-Feb-09 2:18
Colin Angus Mackay2-Feb-09 2:18 
GeneralRe: mcd and history table Pin
foryou2-Feb-09 2:58
foryou2-Feb-09 2:58 
QuestionRe: mcd and history table Pin
foryou2-Feb-09 23:24
foryou2-Feb-09 23:24 
QuestionMS-ACCESS combofilling [modified] Pin
ketan bader1-Feb-09 20:02
ketan bader1-Feb-09 20:02 
AnswerRe: MS-ACCESS combofilling Pin
Vimalsoft(Pty) Ltd1-Feb-09 23:06
professionalVimalsoft(Pty) Ltd1-Feb-09 23:06 
AnswerRe: MS-ACCESS combofilling Pin
Blue_Boy1-Feb-09 23:09
Blue_Boy1-Feb-09 23:09 
Questionquery with aggregate Pin
rm_suprapto1-Feb-09 18:02
rm_suprapto1-Feb-09 18:02 
Hi all,

I'm suprapto, I would like to ask how to query the table below,
based on the highest salary of each department. The table's name is Employee

EmpName Dept Salary
------- ------- -------
Blee Technic 10000000
Mawar Technic 2000000
Suprapto Prod 1000000
Edo Prod 2000000
P Thomas Technic 6000000
P Hank Prod 5000000
Bu Putri HR 20000000
Franky Technic 3500000
Rahel HR 4000000

So, what I expect to obtain for the result is like below:

EmpName Dept Salary
------- ------- --------
Blee Technic 10000000
Bu Putri HR 20000000
P Hank Prod 5000000

Could anyone help me to solve this problem ?
Your kind help is much appreciated.

Rgards,
AnswerRe: query with aggregate Pin
Wendelius1-Feb-09 18:08
mentorWendelius1-Feb-09 18:08 
GeneralRe: query with aggregate Pin
rm_suprapto1-Feb-09 23:58
rm_suprapto1-Feb-09 23:58 
GeneralRe: query with aggregate Pin
Wendelius2-Feb-09 0:30
mentorWendelius2-Feb-09 0:30 
QuestionUnicode? Pin
Ali_1001-Feb-09 9:23
Ali_1001-Feb-09 9:23 
AnswerRe: Unicode? Pin
Colin Angus Mackay1-Feb-09 12:30
Colin Angus Mackay1-Feb-09 12:30 
Questionclustered index is 1 in table?then/// Pin
Ali_1001-Feb-09 9:14
Ali_1001-Feb-09 9:14 
AnswerRe: clustered index is 1 in table?then/// Pin
Colin Angus Mackay1-Feb-09 12:40
Colin Angus Mackay1-Feb-09 12:40 
Generaldatabase query Pin
Ali_1001-Feb-09 8:13
Ali_1001-Feb-09 8:13 
GeneralRe: database query Pin
Wendelius1-Feb-09 8:24
mentorWendelius1-Feb-09 8:24 
GeneralRe: database query Pin
Blue_Boy1-Feb-09 23:11
Blue_Boy1-Feb-09 23:11 
QuestionSQL Query help needed please Pin
munklefish1-Feb-09 0:42
munklefish1-Feb-09 0:42 
AnswerRe: SQL Query help needed please Pin
Wendelius1-Feb-09 7:05
mentorWendelius1-Feb-09 7:05 
Questiondelete query in sql Pin
billcodes1-Feb-09 0:01
billcodes1-Feb-09 0:01 
AnswerRe: delete query in sql Pin
Eddy Vluggen1-Feb-09 0:38
professionalEddy Vluggen1-Feb-09 0:38 
GeneralRe: delete query in sql Pin
Rob Graham1-Feb-09 5:50
Rob Graham1-Feb-09 5:50 
GeneralRe: delete query in sql Pin
Eddy Vluggen1-Feb-09 7:07
professionalEddy Vluggen1-Feb-09 7:07 
AnswerRe: delete query in sql Pin
Rob Graham1-Feb-09 5:47
Rob Graham1-Feb-09 5:47 

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.