Link to home
Create AccountLog in
Avatar of John Carney
John CarneyFlag for United States of America

asked on

In SQL Server, SELECTION based on the first letter of the entries in a given column

I need a query that selects every record for which the last name ("LastName") begins with "S"

Thanks!
John

ASKER CERTIFIED SOLUTION
Avatar of Aneesh
Aneesh
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
select * from tablename where lastname like 's%'
Avatar of John Carney

ASKER

Thanks, aneesh.