title: User-Defined Functions Returning Table in MySQL
body: <p>PostgreSQL allows you to define a function that returns a table. Does MySQL provide a similar feature? My research suggests not, but I'd be grateful if someone could show me otherwise.</p>
  
  <p>Essentially, I want to add a "running-total" column to a rowset, and this is one of the options I'm investigating.</p>