Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: Quantos clientes Petite compraram peças vintage em Sydney durante 2022?
 ###Tabelas: 
CREATE TABLE Customers (customer_id INT, country VARCHAR(255), size VARCHAR(50), preferred_trend_id INT);CREATE TABLE Sales (sale_id INT, garment_id INT, location_id INT, sale_date DATE);CREATE TABLE Garments (garment_id INT, trend_id INT, fabric_source_id INT, size VARCHAR(50), style VARCHAR(255));CREATE TABLE StoreLocations (location_id INT, city VARCHAR(255), country VARCHAR(255), sales_volume INT);CREATE VIEW PetiteCustomers AS SELECT * FROM Customers WHERE size = 'Petite';CREATE VIEW VintageGarments AS SELECT * FROM Garments WHERE trend_id IN (SELECT trend_id FROM FashionTrends WHERE category = 'Vintage');CREATE VIEW SydneySales AS SELECT * FROM Sales WHERE location_id IN (SELECT location_id FROM StoreLocations WHERE city = 'Sydney');CREATE VIEW PetiteVintageSydney AS SELECT * FROM SydneySales WHERE garment_id IN (SELECT garment_id FROM VintageGarments) AND garment_id IN (SELECT garment_id FROM PetiteCustomers WHERE customer_id = (SELECT customer_id FROM Sales JOIN Customers ON Sales.customer_id = Customers.customer_id WHERE sale_date BETWEEN '2022-01-01' AND '2022-12-31'));
SELECT COUNT(DISTINCT customer_id) FROM PetiteVintageSydney;