sqlite3 select from multiple tables 'where' stuff sqlite3 select from multiple tables 'where' stuff sqlite sqlite

sqlite3 select from multiple tables 'where' stuff


Try

SELECT PRESCHOOLERS.first_name, FAVORITE_GOOEY_TREATS.name as treatFROM PRESCHOOLERSJOIN FAVORITE_GOOEY_TREATS ON PRESCHOOLERS.favorite_treat = FAVORITE_GOOEY_TREATS.idWHERE PRESCHOOLERS.age > 15;