My code can be found below. Upon executing it, the first table is numbered 0.1 while the second table is numbered 0.3. Why the second table is not numbered 0.2?
\documentclass[12pt,a4paper,oneside,hidelinks]{scrbook} \usepackage{fullpage} \usepackage[utf8]{inputenc} \usepackage{fancyref} \usepackage{hyperref} \usepackage{lscape} \usepackage{natbib} \renewcommand*{\bibfont}{\raggedright} \newcommand{\cchapter}[1]{\chapter[#1]{\centering #1}} \usepackage{cite} \setlength{\bibhang}{12pt} \usepackage[nottoc]{tocbibind} \setlength{\parskip}{0.5\baselineskip} \usepackage[margin=1in]{geometry} \usepackage{graphicx} \usepackage{tabularx} \usepackage{subcaption} \usepackage[font=small,skip=0pt]{caption} \usepackage{array} \usepackage{ragged2e} \usepackage{xcolor} \newcolumntype{H}{>{\setbox0=\hbox\bgroup}c<{\egroup}@{}} \captionsetup[table]{belowskip=0pt} \captionsetup{font=normalsize,labelfont=bf,font=bf} \usepackage{bm} \usepackage{amsmath,amssymb} \usepackage{chngcntr} \counterwithout{equation}{chapter} \usepackage{newtxtext,newtxmath} \usepackage{setspace} \begin{document} \begin{table}[!htbp] \centering \caption{Announcements} \label{tab:distr} \begin{subtable}[t]{\linewidth} \rule[-2pt]{\textwidth}{0.5pt} \\ \justifying \scriptsize \noindent Description of variables is included here. \noindent \normalsize \begin{tabularx}{1.0\linewidth}{>{\raggedright\arraybackslash}l >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}r} \hline\hline Weekday & Count\\ \hline Monday & 136\\ Tuesday & 480\\ Wednesday & 290\\ Thursday & 261\\ Friday & 563\\ \hline Total & 1730\\ \hline\hline \end{tabularx} \subcaption{Panel A: Cumulative Distribution} \end{subtable} \begin{subtable}[t]{\linewidth} \begin{tabularx}{1.0\linewidth}{>{\raggedright\arraybackslash}l >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}r} & & & & & & & & & & \\ \hline\hline Weekday & A & B & C & D & E & F & G & H & I & Total\\ \hline Monday & 92 & 0 & 71 & 1 & 0 & 0 & 0 & 1 & 0 & 164\\ Tuesday & 45 & 1 & 19 & 65 & 59 & 51 & 232 & 50 & 0 & 522\\ Wednesday & 35 & 0 & 17 & 94 & 38 & 77 & 2 & 51 & 14 & 328\\ Thursday & 33 & 7 & 37 & 6 & 59 & 47 & 5 & 73 & 21 & 288\\ Friday & 35 & 232 & 96 & 0 & 84 & 65 & 1 & 65 & 45 & 623\\ \hline Total & 240 & 240 & 240 & 166 & 240 & 240 & 240 & 240 & 80 & 1926\\ \hline\hline \end{tabularx} \subcaption{Panel B: Individual Distribution} \end{subtable} \end{table} \newpage \begin{table}[!htbp] \centering \caption{Regressions} \label{tab:reg} \begin{subtable}[t]{\linewidth} \rule[-2pt]{\linewidth}{0.5pt} \\ \justifying \scriptsize \noindent Description of variables is included here. \noindent \normalsize \begin{tabularx}{1.0\linewidth}{>{\raggedright\arraybackslash}l >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}r} \hline\hline & Mean& Std. Dev& Min& Median& Max& N\\ \hline J & 0.13811& 0.14266& 0.00030& 0.08322& 0.92883& 11910\\ K & 0.12634& 0.13768& 0.00016& 0.07074& 0.92798& 11910\\ \hline L & 0.12371& 0.14751& -0.07714& 0.06475& 0.92866& 11910\\ M & 0.11913& 0.14021& -0.03570& 0.06180& 0.92789& 11910\\ \hline N & 0.49645& 0.69534& -4.81374& 0.42740& 7.68042& 11910\\ O & 0.50296& 0.58914& -4.06494& 0.43418& 4.58772& 11910\\ \hline P & 0.05105& 0.54642& -5.83177& 0.02309& 5.80889& 11910\\ Q & 0.06133& 0.40009& -4.50850& 0.03513& 4.86864& 11910\\ \hline R & 0.26164& 0.57158& -5.12776& 0.21151& 5.79255& 11910\\ S & 0.27306& 0.49536& -3.21627& 0.20411& 3.91303& 11910\\ \hline U & 0.03693& 0.40521& -4.39457& 0.02950& 5.82232& 11910\\ V & 0.05111& 0.28504& -2.99187& 0.04154& 3.11172& 11910\\ \hline X & 0.03782& 0.01885& 0.00309& 0.03383& 0.12898& 11910\\ Y & 0.03761& 0.01873& 0.00208& 0.03376& 0.12164& 11910\\ \hline\hline \end{tabularx} \subcaption{Panel A: Summary Statistics} \end{subtable} \begin{subtable}[t]{1.0\linewidth} \centering \begin{tabularx}{0.65\linewidth}{>{\raggedright\arraybackslash}l >{\raggedleft\arraybackslash}X >{\raggedleft\arraybackslash}r} & & \\ \hline\hline v & t & p\\ \hline a & 29.1060 & 0.0000\\ b & 11.1330 & 0.0000\\ c & -1.1215 & 0.2621\\ d & -1.7339 & 0.0830\\ e & -2.5628 & 0.0104\\ f & -3.2563 & 0.0011\\ g & 7.2860 & 0.0000\\ \hline\hline \end{tabularx} \subcaption{Panel B: t-tests} \end{subtable} \end{table} \end{document}