I tried to reference a sidewaystable in my text. Unfortunately, the reference in the text is exactly the label name, i.e. table:1 instead of just 1. How can I reference the sidewaystable below and get the table number in the text?
\documentclass{article}
\usepackage{tablefootnote}
\usepackage{copyrightbox}
\usepackage{graphicx}
\usepackage{float}
\usepackage{adjustbox}
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}[!htbp] \centering
\caption{Regression results}
\label{table:1}
\begin{adjustbox}{width=0.9\textwidth}
\makeatletter
\renewcommand{\CRB@setcopyrightfont}{%
\footnotesize
\color{black}}
\makeatother
\copyrightbox [b] {
\begin{tabular}{@{\extracolsep{5pt}}lD{.}{.}{-3} D{.}{.}{-3} D{.}{.}{-3}}
\\[-1.8ex]\hline
bla bla & bla bla & bla bla & bla bla \\
\end{tabular}
}{source: own representation}
\end{adjustbox}
\end{sidewaystable}
\end{document}