Need to learn more SQL, apparently