This question already has an answer here:

Can anybody show me how to do the boxes in the image attached in latex.

Thanks ahead

enter image description here

marked as duplicate by cfr, Phelype Oleinik, Stefan Pinnow, Zarko, Bobyandbob Jun 26 '18 at 6:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

\begin{tikzpicture}[mybox/.style={minimum width=4cm,draw,thick,align=center,minimum height=1.8cm}]
\node[mybox,label=above:$\alpha$] (alpha) {1,2,3};
\node[right=1cm of alpha,mybox,label=above:$\beta$] (beta)  {4,5,6};
\node[right=1cm of beta,mybox,label=above:$\gamma$] (gamma)  {7,8,9};

enter image description here