aquatsr Posted September 15, 2006 Share Posted September 15, 2006 So I have a table called books and I want to select all titles that start with 'a' or 'A' how do I do such a thing? Also how would I do that for titles starting with numbers (any number)?thx. Link to comment Share on other sites More sharing options...
murfitUK Posted September 15, 2006 Share Posted September 15, 2006 Use the wildcard in your select egSELECT titles FROM books WHERE titles LIKE 'A%'Have a look at sqlcourse.com Link to comment Share on other sites More sharing options...
aquatsr Posted September 15, 2006 Author Share Posted September 15, 2006 Use the wildcard in your select egSELECT titles FROM books WHERE titles LIKE 'A%'Have a look at sqlcourse.comThank you. I had forgotten about that (I'm still new to sql queries). Link to comment Share on other sites More sharing options...
aquatsr Posted September 16, 2006 Author Share Posted September 16, 2006 So I have a table called books and I want to select all titles that start with numbers (any number)?thx. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now