Tell me about how you would write basic SQL queries and use Git during a data engineering task.
Using the provided market_data table, write a query that summarizes valid records with positive volume and a non-null closing price. Also explain how you would develop, test, commit, and review the change using Git.
symbol and average_close_price| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique market data record identifier |
| symbol | VARCHAR(12) | Instrument symbol |
| record_date | DATE | Date of the market observation |
| close_price | NUMERIC(12,2) | Closing price for the observation |
| volume | BIGINT | Reported trading volume |
| status | VARCHAR(16) | Data quality status |