Microsoft
Software
Hardware
Network
Question : Pull info in first record of a group
I have a large table which contains two fields - LEAD, and NAME. I am using a query to group the information by LEAD. There are many duplicates in LEAD but not in the NAME field. Meaning, that for the same LEAD number there might be multiple names assosicated with it.
When I pull my query grouping the LEADs I need to pull the information that is in the first record of the group for NAME.
I've attached a file with some sample data and a view of what I need the results to look like.
Thank you!!
Attachments:
Sample.xlsx
(9 KB)
(File Type Details)
Sample of table and what I need
Answer : Pull info in first record of a group
or just min
select Lead, Min([Name])
from tablex
group by Lead
Random Solutions
VB.net Tab Control - How to reuse control names on tabs
Netlogon Service stopped on SBS2003
SharePoint 2007 / InfoPath 2007 - Approval Workflow Advice Needed
How to remove white space showing up on website
I am trying to run a virtual image off of vmware player and I keep getting an error.
Checklist for Windows 2003 AD upgrade to Window 2008 AD
Oracle Session Locks
From where I can download HP Smartstart version 8.40
Inventory System (Freeware) Recommendation
Why centos live cd so slow, and can not mount local HDD?