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
RRAS & VPN install on Server 2003
RPC/HTTP won't accept password on Exchange 2007 unless the Default Web Site is restarted
IF Statement with Index formula
Can an Outlook calendar be imported into SharePoint?
I am trying to install ADFS on Windows server 2003 R2 - I can get the ADFS web components installed but...
Division & OLAP Cubes
How do you restore a smaller partition image of Windows XP onto a larger disk and still have Windows XP boot up recognizing the larger disk size?
Access VBA
SBS 2008 iis7 problem
Unrecognized database format