how to use select statement in sql code example Example: how select from db SELECT columname FROM tablename