Digital Harbor interview question

Code to Queue and Stack SQL joins.