how to select a record from a table in sql code example Example: how select from db SELECT columname FROM tablename