Posted By

zingo on 10/19/07


mysql database sql cli

Versions (?)

Generate Simple Bar Charts From a MySQL Prompt

 / Published in: SQL


You can generate a simple bar chart of the values by executing this command...

  1. SELECT Name, Value FROM Month;
  2. SELECT Name, REPEAT("#", Value/20.0+1) Graph FROM Month;

Report this snippet  


RSS Icon Subscribe to comments
Posted By: Yeah on January 18, 2008

Great snippet. Thank you.

You need to login to post a comment.