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
Setting up Custom Error Pages in Windows Sharepoint Services. WSS
Ping from (192.168.1.1 - 192.168.1.254) without using IPlist.txt and output the result with Hostnames..
How to find/replace delete include files in Frontpage
problem with VBA code to operate command on sub-form
Subforms and bookmarks
Setting MSSQL 2005 timeout = 0 (neverending)
Window Server 2008 64bit Standard
limit for ms sql
How do I put a specific table row at the END of my 'ORDER BY' list?
MySQL command to replace data in tables