Click here to Skip to main content
15,888,802 members
Home / Discussions / Database
   

Database

 
QuestionSQL SERVER Pin
Tran Ngoc Minh3-Oct-05 18:15
Tran Ngoc Minh3-Oct-05 18:15 
AnswerRe: SQL SERVER Pin
Colin Angus Mackay4-Oct-05 1:25
Colin Angus Mackay4-Oct-05 1:25 
QuestionStore procedure access in c++ Pin
Anonymous3-Oct-05 17:14
Anonymous3-Oct-05 17:14 
QuestionMultiple Selects in SP Pin
Russell Jones3-Oct-05 6:05
Russell Jones3-Oct-05 6:05 
AnswerRe: Multiple Selects in SP Pin
afronaut3-Oct-05 6:45
afronaut3-Oct-05 6:45 
GeneralRe: Multiple Selects in SP Pin
Anonymous3-Oct-05 6:54
Anonymous3-Oct-05 6:54 
GeneralRe: Multiple Selects in SP Pin
Michael Potter3-Oct-05 11:57
Michael Potter3-Oct-05 11:57 
QuestionQuery question Pin
afronaut3-Oct-05 5:25
afronaut3-Oct-05 5:25 
Hey all, I've got data structured like this:

ID - Contact - Company - Email

1 - Jeff - Acme - Jeff@Acme.com
2 - Hester - Acme - Hester@Acme.com
3 - Mort - Acme - Mort@Acme.com
4 - Jason - Widget - Jason@Widget.com
5 - Harriet - Widget - Harriet@Widget.com

I need to write a query that will return only the first contact for each company, in this case it should return:
----------------------------------------
1 - Jeff - Acme - Jeff@Acme.com
4 - Jason - Widget - Jason@Widget.com

Thanks in advance!

*->>Always working on my game, teach me
*->>something new.
cout << "dav1d\n";
AnswerRe: Query question Pin
-Dr_X-3-Oct-05 5:38
-Dr_X-3-Oct-05 5:38 
GeneralRe: Query question Pin
miah alom3-Oct-05 6:55
miah alom3-Oct-05 6:55 
GeneralRe: Query question Pin
Johny Ng3-Oct-05 9:12
Johny Ng3-Oct-05 9:12 
GeneralRe: Query question Pin
miah alom3-Oct-05 9:51
miah alom3-Oct-05 9:51 
GeneralRe: Query question Pin
Johny Ng3-Oct-05 11:35
Johny Ng3-Oct-05 11:35 
GeneralRe: Query question Pin
miah alom3-Oct-05 11:37
miah alom3-Oct-05 11:37 
GeneralRe: Query question Pin
Anonymous4-Oct-05 4:13
Anonymous4-Oct-05 4:13 
AnswerRe: Query question Pin
Anonymous4-Oct-05 19:09
Anonymous4-Oct-05 19:09 
QuestionUpdating multiple tables in Data Set Pin
Member 21844333-Oct-05 1:08
Member 21844333-Oct-05 1:08 
QuestionSQL : how to change the data type of a column Pin
Jerome Conus3-Oct-05 0:55
Jerome Conus3-Oct-05 0:55 
AnswerRe: SQL : how to change the data type of a column Pin
afronaut3-Oct-05 6:14
afronaut3-Oct-05 6:14 
QuestionWhen using localhost SQL Server does not exist ...error Pin
Anonymous2-Oct-05 11:23
Anonymous2-Oct-05 11:23 
AnswerRe: When using localhost SQL Server does not exist ...error Pin
Colin Angus Mackay2-Oct-05 12:38
Colin Angus Mackay2-Oct-05 12:38 
GeneralRe: When using localhost SQL Server does not exist ...error Pin
Anonymous2-Oct-05 15:16
Anonymous2-Oct-05 15:16 
GeneralRe: When using localhost SQL Server does not exist ...error Pin
Colin Angus Mackay2-Oct-05 20:28
Colin Angus Mackay2-Oct-05 20:28 
GeneralRe: When using localhost SQL Server does not exist ...error Pin
Anonymous3-Oct-05 7:14
Anonymous3-Oct-05 7:14 
QuestionODBC Drivers Pin
Stanciu Vlad2-Oct-05 3:40
Stanciu Vlad2-Oct-05 3:40 

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.