INFER salary FROM mytable WHERE age > 30;
Fill in missing data with the INFER command. Unlike a traditional regression model, where you need to separately train a supervised model for each column you’re interested in predicting, INFER statements are flexible and work with any set of columns to predict.
via BayesDB.