1 Data
Or try:
Filter or reshape with SQL
The model sees the result of this query. The file is table source.
2 What to predict
Features
numbers are numerical; text and booleans are categorical
3 Predictions
Query the predictions with SQL
Tables: source, data, predictions, and results (data joined with predictions).