select users.last_login,us.*,users.* from users left join user_school us on us.user_id = users.id where school_id is not null and last_login between '2021-01-01'::date and '2021-12-31'::date
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter