How to retrieve data from custom table in database?
The fields method takes a table name/alias as its first arg, and an array of field names as its second:

$result = db_select('mymodule', 'mm')
   -&gt;fields('mm', ['field_one']) 
   -&gt;execute()
   -&gt;fetchAll();