Log in

View Full Version : Vb


pumpkinslion
Jan 23, 2010, 12:34 PM
which one of following commands allows you to select only records whose capital begins with the letter S?
select fldCapital= "S" from tblState
select * from tblState where fldCapital like "S%"
select* from tblState where fldCapital = "S%"
select* from tblState where fldCapital = "S*"

_Rab_
Feb 17, 2010, 05:07 AM
The SQL you are looking for is :

Select * from tblState where fldCapital like "S*"