-record(user, {id, name, password}). F = fun() -> User = #user{_ = '$1', name= '$2', password= '$3'}, mnesia:select(user, [{User, [], ['$1','$2','$3']}]) end. mnesia:transaction(F). {atomic,["admin"]} Why is it returning just one column other than three ($1,$2,$3) ?