add remove split language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version()
9.7.2
Records: 3  Duplicates: 0  Warnings: 0
Records: 3  Duplicates: 0  Warnings: 0
Records: 52  Duplicates: 0  Warnings: 0
Records: 104  Duplicates: 0  Warnings: 0
name revenue
ann 648.00
bob 639.00
cat 575.50
widget  153  ███████████████████
 gizmo   79  █████████
gadget   76  █████████
option
{"xAxis": {"data": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], "type": "category"}, "yAxis": {"type": "value"}, "legend": {}, "series": [{"data": [70.0, 35.0, 42.0, 49.0, 21.0, 63.0, 42.0, 63.0, 35.0, 42.0, 49.0, 21.0], "name": "gadget", "type": "bar", "stack": "revenue"}, {"data": [108.0, 36.0, 84.0, 96.0, 84.0, 72.0, 60.0, 108.0, 36.0, 144.0, 36.0, 84.0], "name": "gizmo", "type": "bar", "stack": "revenue"}, {"data": [37.5, 25.0, 27.5, 37.5, 30.0, 32.5, 37.5, 35.0, 25.0, 37.5, 27.5, 30.0], "name": "widget", "type": "bar", "stack": "revenue"}], "tooltip": {"trigger": "axis"}}
diagram
erDiagram
  customer {
    int id PK
    varchar name
  }
  order_line {
    int order_id PK, FK
    int product_id PK, FK
    int qty
  }
  orders {
    int id PK
    int customer_id FK
    date ordered_on
  }
  product {
    int id PK
    varchar name
    decimal price
  }
  order_line }o--|| orders : "order_id"
  order_line }o--|| product : "product_id"
  orders }o--|| customer : "customer_id"