I'm writing this ADO.NET/VB.NET application, and I am trying to select a group of records from a database. I want one record each for each user ID in the table. That is to say, if a user ID appears in three different records, I just want the first one. I'm pretty sure there is a SQL Keyword for that but I am drawing a blank. Anybody have any thoughts? Thanks!


Reply With Quote