sql for realpython