select from table in database code example Example: how select from db SELECT columname FROM tablename