Microsoft
Software
Hardware
Network
Question : how to get single line answer for my query
Hi,
I have a query which gives 10 lines
like this
user_ code role
nsk adm
sathish adm
sathis01 adm
sathish buyer
sathish approver
sathis01 buyer
sathis02 buyer
the result are coming like this i want to the result should be
user_ code role
nsk adm
sathish adm
sathis01 adm
sathis02 buyer
like this . No repeating user_code how can i achive this throw query !
Answer : how to get single line answer for my query
select user_code,min(role) from YourTableName group by user_code
Random Solutions
How do I number couples of data in an MS Access 2007 Report?
.NET CE C# program not updating with time zone change
Need to deploy/upgrade an Access application
How can I change the value of a combo box based on value of an unbound text box?
Locate Corrupt Record In An Access Table
VB.Net move Items from ListBox to Textboxes
What sort of utility will provide autocomplete suggestions while I am typing text within applications such as Microsoft Word, Internet Explorer, notepad, etc.?
Count consecutive numbers and the attach back to original dataset
PowerPoint AddIn/Custom Ribbon generating macro error
Conditional page break in excel macro