### Database Schema:
CREATE TABLE gasstations (
	GasStationID	INTEGER	NOT NULL	PRIMARY KEY,
	ChainID	INTEGER	NULL,
	Country	TEXT	NULL,
	Segment	TEXT	NULL
);

CREATE TABLE customers (
	CustomerID	INTEGER	NOT NULL	PRIMARY KEY,
	Segment	TEXT	NULL,
	Currency	TEXT	NULL
);

CREATE TABLE yearmonth (
	CustomerID	INTEGER	NOT NULL	PRIMARY KEY,
	Date	TEXT	NOT NULL	PRIMARY KEY,
	Consumption	REAL	NULL,
	foreign key (CustomerID) references customers (CustomerID)
);

CREATE TABLE products (
	ProductID	INTEGER	NOT NULL	PRIMARY KEY,
	Description	TEXT	NULL
);

CREATE TABLE transactions_1k (
	TransactionID	INTEGER	NULL	PRIMARY KEY,
	Date	DATE	NULL,
	Time	TEXT	NULL,
	CustomerID	INTEGER	NULL,
	CardID	INTEGER	NULL,
	GasStationID	INTEGER	NULL,
	ProductID	INTEGER	NULL,
	Amount	INTEGER	NULL,
	Price	REAL	NULL
);

### User's Query:
Which of the three segments—SME, LAM and KAM—has the biggest and lowest percentage increases in consumption paid in EUR between 2012 and 2013?

### Extra Knowledge:
Increase or Decrease = consumption for 2013 - consumption for 2012; Percentage of Increase = (Increase or Decrease / consumption for 2013) * 100%; The first 4 strings of the Date values in the yearmonth table can represent year
SELECT CAST((SUM(IIF(T1.Segment = 'SME' AND T2.Date LIKE '2013%', T2.Consumption, 0)) - SUM(IIF(T1.Segment = 'SME' AND T2.Date LIKE '2012%', T2.Consumption, 0))) AS FLOAT) * 100 / SUM(IIF(T1.Segment = 'SME' AND T2.Date LIKE '2012%', T2.Consumption, 0)), CAST(SUM(IIF(T1.Segment = 'LAM' AND T2.Date LIKE '2013%', T2.Consumption, 0)) - SUM(IIF(T1.Segment = 'LAM' AND T2.Date LIKE '2012%', T2.Consumption, 0)) AS FLOAT) * 100 / SUM(IIF(T1.Segment = 'LAM' AND T2.Date LIKE '2012%', T2.Consumption, 0)) , CAST(SUM(IIF(T1.Segment = 'KAM' AND T2.Date LIKE '2013%', T2.Consumption, 0)) - SUM(IIF(T1.Segment = 'KAM' AND T2.Date LIKE '2012%', T2.Consumption, 0)) AS FLOAT) * 100 / SUM(IIF(T1.Segment = 'KAM' AND T2.Date LIKE '2012%', T2.Consumption, 0)) FROM customers AS T1 INNER JOIN yearmonth AS T2 ON T1.CustomerID = T2.CustomerID