### 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 amount spent by customer "38508" at the gas stations? How much had the customer spent in January 2012?

### Extra Knowledge:
January 2012 refers to the Date value = '201201'
SELECT SUM(T1.Price) , SUM(IIF(T3.Date = '201201', T1.Price, 0)) FROM transactions_1k AS T1 INNER JOIN gasstations AS T2 ON T1.GasStationID = T2.GasStationID INNER JOIN yearmonth AS T3 ON T1.CustomerID = T3.CustomerID WHERE T1.CustomerID = '38508'