Generate Simple Bar Charts From a MySQL Prompt


/ Published in: SQL
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. SELECT Name, VALUE FROM MONTH;
  2. SELECT Name, REPEAT("#", VALUE/20.0+1) Graph FROM MONTH;

URL: http://www.squarebits.com/blog/2006/11/generate_simple.html

Report this snippet


Comments


You need to login to view comments.