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
GPO Server 2003 XP Pro Clients Wallpaper
Improving SQL Server 2005 performance (Database re-vamping help needed)
VB.NET, 2005 - Maintain Scroll Position To DataGrid
Bulk Insert Excel spreadsheet
Regex and VB.NET - Richtext selection
Open Sharepoint server's pdf file in asp.net...
How to install Win2K to a Toshiba Portege 3440CT when the PCMCIA CD-Rom will not power up when booting from floppy or HDD
select query
Tree Node Font or graphics change On Mouse HOver
VBA concatenation of form names