### 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:
What is the difference in the annual average consumption of the customers with the least amount of consumption paid in CZK for 2013 between SME and LAM, LAM and KAM, and KAM and SME?

### Extra Knowledge:
annual average consumption of customer with the lowest consumption in each segment = total consumption per year / the number of customer with lowest consumption in each segment; Difference in annual average = SME's annual average - LAM's annual average; Difference in annual average = LAM's annual average - KAM's annual average; Year 2013 can be presented as Between 201301 And 201312; The first 4 strings of the Date values in the yearmonth table can represent year.
SELECT CAST(SUM(IIF(T1.Segment = 'SME', T2.Consumption, 0)) AS REAL) / COUNT(T1.CustomerID) - CAST(SUM(IIF(T1.Segment = 'LAM', T2.Consumption, 0)) AS REAL) / COUNT(T1.CustomerID) , CAST(SUM(IIF(T1.Segment = 'LAM', T2.Consumption, 0)) AS REAL) / COUNT(T1.CustomerID) - CAST(SUM(IIF(T1.Segment = 'KAM', T2.Consumption, 0)) AS REAL) / COUNT(T1.CustomerID) , CAST(SUM(IIF(T1.Segment = 'KAM', T2.Consumption, 0)) AS REAL) / COUNT(T1.CustomerID) - CAST(SUM(IIF(T1.Segment = 'SME', T2.Consumption, 0)) AS REAL) / COUNT(T1.CustomerID) FROM customers AS T1 INNER JOIN yearmonth AS T2 ON T1.CustomerID = T2.CustomerID WHERE T1.Currency = 'CZK' AND T2.Consumption = ( SELECT MIN(Consumption) FROM yearmonth ) AND T2.Date BETWEEN 201301 AND 201312