
set names utf8
# [17-Aug-2024 13:20:39] /constantinoff/res/root/bg/users/login.html 167.99.142.201

SELECT
                        `ID`,
                        `Data`
                    FROM
                        `constantinoff`.`staff`
                    WHERE
                        `PassCode` = '1111' AND
                        Visible = 1
                    LIMIT 1

set names utf8
# [17-Aug-2024 13:20:39] /constantinoff/res/root/ 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                            `clients`.`FullName` AS ClientName
                        FROM
                            `reservations`
                            INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
        
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26549

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26550

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26551

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26561

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26493

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26560

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26559

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26557

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26558

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26219

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26218

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26217

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26216

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26215

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26214

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26213

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26212

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26211

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26210

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26209

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26208

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26207

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26206

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26205

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26204

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26203

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26202

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26201

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26200

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26199

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26198

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26197

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26196

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 23325

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26195

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26192

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26191

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26190

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26189

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26188

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26187

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26186

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26185

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26184

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26183

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26182

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26181

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26180

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26179

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26178

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26079

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26177

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26176

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26175

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26174

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26173

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26172

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26171

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26426

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26170

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25878

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26169

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26168

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26167

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26164

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26163

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26162

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26161

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26160

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26159

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26158

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26157

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26156

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26153

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26152

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26087

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26086

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26553

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26552

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26085

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26084

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26083

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26082

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26351

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26080

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26310

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26081

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26033

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26078

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 24013

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26554

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26389

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26077

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26036

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26076

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26075

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26074

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26555

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26556

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26072

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26071

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26070

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26521

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26460

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26069

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26529

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26484

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26480

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26432

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26068

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26479

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26457

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26439

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26313

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26067

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26396

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26537

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26452

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26483

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26347

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25633

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25726

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26547

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26546

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26526

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26543

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26536

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26505

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26538

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26498

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26066

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26373

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26528

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26541

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26490

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26261

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26532

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26392

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26376

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26514

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26286

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26522

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26511

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26065

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26542

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26535

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26534

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26519

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26510

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26527

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26302

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26098

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26531

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26504

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26463

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26358

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26307

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26064

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26544

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26471

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26540

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26548

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26383

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26530

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26501

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26495

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26442

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26256

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26533

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26509

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26507

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26486

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26441

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25897

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26525

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26503

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26502

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26456

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26419

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26127

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26063

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25534

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26489

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26491

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26545

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26539

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26518

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26515

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26459

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26468

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26405

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26517

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26506

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26485

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26477

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26449

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25922

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26524

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26520

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26496

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26487

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26482

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26440

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26357

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26240

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26523

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26393

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26374

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26366

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26062

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26512

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26474

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26516

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26513

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26508

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26488

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26494

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26433

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26499

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26497

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26478

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26470

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26458

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26481

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26475

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26466

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26465

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26422

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26492

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26472

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26464

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26450

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26352

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26473

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26454

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26343

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26061

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26344

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26476

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26406

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26462

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26467

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26391

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26386

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26455

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26445

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26453

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26434

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26416

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26365

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26447

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26446

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26443

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26437

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26382

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26378

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26269

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26451

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26438

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26381

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26060

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26436

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26408

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26448

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26362

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26444

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26424

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26407

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26322

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26435

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26420

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26412

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26395

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26370

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26431

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26400

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26234

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26427

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26425

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26423

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26384

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26360

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26306

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26430

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26428

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26421

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26417

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26413

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26402

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26399

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26398

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26394

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26390

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26385

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26371

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26367

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26359

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26355

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26146

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26035

set names utf8
# [17-Aug-2024 13:20:40] /constantinoff/res/root/bg/resweb/num.html?_=1723890040069 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:20:46] /constantinoff/res/root/bg/resweb/num.html?_=1723890040070 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:20:52] /constantinoff/res/root/bg/resweb/num.html?_=1723890040071 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:20:58] /constantinoff/res/root/bg/resweb/num.html?_=1723890040072 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:04] /constantinoff/res/root/bg/resweb/num.html?_=1723890040073 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:10] /constantinoff/res/root/bg/resweb/num.html?_=1723890040074 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:16] /constantinoff/res/root/bg/resweb/num.html?_=1723890040075 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:18] /constantinoff/res/root/ 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                            `clients`.`FullName` AS ClientName
                        FROM
                            `reservations`
                            INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
        
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26549

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26550

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26551

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26561

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26493

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26560

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26559

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26557

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26558

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26219

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26218

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26217

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26216

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26215

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26214

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26213

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26212

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26211

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26210

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26209

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26208

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26207

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26206

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26205

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26204

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26203

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26202

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26201

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26200

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26199

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26198

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26197

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26196

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 23325

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26195

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26192

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26191

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26190

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26189

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26188

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26187

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26186

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26185

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26184

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26183

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26182

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26181

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26180

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26179

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26178

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26079

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26177

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26176

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26175

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26174

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26173

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26172

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26171

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26426

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26170

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25878

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26169

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26168

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26167

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26164

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26163

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26162

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26161

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26160

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26159

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26158

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26157

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26156

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26153

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26152

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26087

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26086

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26553

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26552

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26085

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26084

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26083

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26082

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26351

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26080

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26310

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26081

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26033

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26078

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 24013

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26554

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26389

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26077

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26036

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26076

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26075

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26074

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26555

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26556

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26072

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26071

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26070

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26521

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26460

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26069

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26529

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26484

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26480

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26432

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26068

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26479

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26457

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26439

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26313

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26067

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26396

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26537

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26452

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26483

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26347

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25633

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25726

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26547

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26546

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26526

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26543

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26536

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26505

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26538

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26498

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26066

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26373

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26528

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26541

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26490

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26261

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26532

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26392

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26376

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26514

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26286

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26522

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26511

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26065

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26542

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26535

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26534

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26519

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26510

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26527

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26302

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26098

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26531

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26504

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26463

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26358

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26307

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26064

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26544

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26471

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26540

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26548

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26383

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26530

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26501

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26495

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26442

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26256

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26533

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26509

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26507

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26486

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26441

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25897

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26525

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26503

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26502

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26456

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26419

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26127

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26063

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25534

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26489

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26491

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26545

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26539

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26518

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26515

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26459

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26468

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26405

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26517

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26506

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26485

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26477

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26449

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25922

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26524

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26520

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26496

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26487

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26482

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26440

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26357

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26240

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26523

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26393

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26374

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26366

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26062

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26512

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26474

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26516

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26513

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26508

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26488

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26494

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26433

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26499

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26497

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26478

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26470

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26458

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26481

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26475

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26466

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26465

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26422

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26492

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26472

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26464

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26450

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26352

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26473

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26454

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26343

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26061

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26344

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26476

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26406

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26462

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26467

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26391

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26386

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26455

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26445

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26453

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26434

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26416

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26365

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26447

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26446

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26443

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26437

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26382

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26378

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26269

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26451

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26438

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26381

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26060

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26436

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26408

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26448

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26362

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26444

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26424

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26407

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26322

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26435

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26420

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26412

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26395

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26370

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26431

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26400

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26234

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26427

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26425

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26423

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26384

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26360

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26306

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26430

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26428

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26421

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26417

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26413

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26402

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26399

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26398

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26394

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26390

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26385

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26371

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26367

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26359

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26355

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26146

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26035

set names utf8
# [17-Aug-2024 13:21:18] /constantinoff/res/root/bg/resweb/num.html?_=1723890078464 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:24] /constantinoff/res/root/bg/resweb/num.html?_=1723890078465 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:30] /constantinoff/res/root/bg/resweb/num.html?_=1723890078466 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:37] /constantinoff/res/root/bg/resweb/num.html?_=1723890078467 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:43] /constantinoff/res/root/bg/resweb/num.html?_=1723890078468 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:49] /constantinoff/res/root/bg/resweb/num.html?_=1723890078469 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:21:55] /constantinoff/res/root/bg/resweb/num.html?_=1723890078470 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:01] /constantinoff/res/root/bg/resweb/num.html?_=1723890078471 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:07] /constantinoff/res/root/bg/resweb/num.html?_=1723890078472 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:13] /constantinoff/res/root/bg/resweb/num.html?_=1723890078473 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:19] /constantinoff/res/root/bg/resweb/num.html?_=1723890078474 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:25] /constantinoff/res/root/bg/resweb/num.html?_=1723890078475 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:31] /constantinoff/res/root/bg/resweb/num.html?_=1723890078476 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:37] /constantinoff/res/root/bg/resweb/num.html?_=1723890078477 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:43] /constantinoff/res/root/bg/resweb/num.html?_=1723890078478 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:49] /constantinoff/res/root/bg/resweb/num.html?_=1723890078479 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:22:55] /constantinoff/res/root/bg/resweb/num.html?_=1723890078480 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:01] /constantinoff/res/root/bg/resweb/num.html?_=1723890078481 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:07] /constantinoff/res/root/bg/resweb/num.html?_=1723890078482 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:12] /constantinoff/res/root/bg/reservations/26549.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                `reservations`.*,
                `res_cancellations`.`UserID` AS CancellationsUserID
            FROM
                `reservations`
                LEFT JOIN `res_cancellations` ON `reservations`.`ID` = `res_cancellations`.`ReservationID`

            WHERE
                `reservations`.`ID` = '26549'
            LIMIT 1

SELECT
                `clients`.*,
                (SELECT
                    COUNT(`ID`)
                    FROM `reservations`
                    WHERE `reservations`.`ClientID` = '23022'
                ) AS Reservations,
                (SELECT
                    COUNT(`ReservationID`)
                    FROM
                        `res_cancellations`
                        INNER JOIN `reservations` ON `reservations`.`ID` = `res_cancellations`.`ReservationID`
                    WHERE `reservations`.`ClientID` = '23022'
                ) AS Cancellations
            FROM
                `clients`
            WHERE
                `ID` = '23022'
            LIMIT 1

SELECT
                `Data`
            FROM
                `constantinoff`.`staff`
            WHERE
                `ID` = '4'
            LIMIT 1

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS TableNumber,
                `tables`.`Shape` AS TableShape,
                `tables`.`Seats` AS TableSeats,
                `tables`.`AdSeats` AS TableAdSeats
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1

            WHERE
                `ReservationID` = 26549

set names utf8
# [17-Aug-2024 13:23:12] /constantinoff/res/root/bg/resweb/num.html?_=1723890192289 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:18] /constantinoff/res/root/bg/resweb/num.html?_=1723890192290 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:24] /constantinoff/res/root/bg/resweb/num.html?_=1723890192291 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:30] /constantinoff/res/root/bg/resweb/num.html?_=1723890192292 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:36] /constantinoff/res/root/bg/resweb/num.html?_=1723890192293 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:42] /constantinoff/res/root/bg/resweb/num.html?_=1723890192294 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:48] /constantinoff/res/root/bg/resweb/num.html?_=1723890192295 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:23:54] /constantinoff/res/root/bg/resweb/num.html?_=1723890192296 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:00] /constantinoff/res/root/bg/resweb/num.html?_=1723890192297 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:06] /constantinoff/res/root/bg/resweb/num.html?_=1723890192298 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:12] /constantinoff/res/root/bg/resweb/num.html?_=1723890192299 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:18] /constantinoff/res/root/bg/resweb/num.html?_=1723890192300 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:24] /constantinoff/res/root/bg/resweb/num.html?_=1723890192301 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:30] /constantinoff/res/root/bg/resweb/num.html?_=1723890192302 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:36] /constantinoff/res/root/bg/resweb/num.html?_=1723890192303 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:42] /constantinoff/res/root/bg/resweb/num.html?_=1723890192304 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:45] /constantinoff/res/root/bg/reservations/26549.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                `reservations`.*,
                `res_cancellations`.`UserID` AS CancellationsUserID
            FROM
                `reservations`
                LEFT JOIN `res_cancellations` ON `reservations`.`ID` = `res_cancellations`.`ReservationID`

            WHERE
                `reservations`.`ID` = '26549'
            LIMIT 1

SELECT
                `clients`.*,
                (SELECT
                    COUNT(`ID`)
                    FROM `reservations`
                    WHERE `reservations`.`ClientID` = '23022'
                ) AS Reservations,
                (SELECT
                    COUNT(`ReservationID`)
                    FROM
                        `res_cancellations`
                        INNER JOIN `reservations` ON `reservations`.`ID` = `res_cancellations`.`ReservationID`
                    WHERE `reservations`.`ClientID` = '23022'
                ) AS Cancellations
            FROM
                `clients`
            WHERE
                `ID` = '23022'
            LIMIT 1

SELECT
                `Data`
            FROM
                `constantinoff`.`staff`
            WHERE
                `ID` = '4'
            LIMIT 1

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS TableNumber,
                `tables`.`Shape` AS TableShape,
                `tables`.`Seats` AS TableSeats,
                `tables`.`AdSeats` AS TableAdSeats
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1

            WHERE
                `ReservationID` = 26549

set names utf8
# [17-Aug-2024 13:24:45] /constantinoff/res/root/bg/resweb/num.html?_=1723890285420 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:51] /constantinoff/res/root/bg/resweb/num.html?_=1723890285421 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:24:58] /constantinoff/res/root/bg/resweb/num.html?_=1723890285422 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:25:04] /constantinoff/res/root/bg/resweb/num.html?_=1723890285423 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [17-Aug-2024 13:25:06] /constantinoff/res/root/bg/users/logout.html?_=1723890285424 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

set names utf8
# [17-Aug-2024 13:25:11] /constantinoff/res/root/bg/users/login.html 167.99.142.201

SELECT
                        `ID`,
                        `Data`
                    FROM
                        `constantinoff`.`staff`
                    WHERE
                        `PassCode` = '2222' AND
                        Visible = 1
                    LIMIT 1

set names utf8
# [17-Aug-2024 13:25:11] /constantinoff/res/root/ 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '5' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                            `clients`.`FullName` AS ClientName
                        FROM
                            `reservations`
                            INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
        
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26549

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26550

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26551

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26561

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26493

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26560

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26559

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26557

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26558

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26219

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26218

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26217

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26216

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26215

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26214

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26213

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26212

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26211

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26210

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26209

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26208

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26207

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26206

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26205

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26204

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26203

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26202

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26201

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26200

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26199

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26198

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26197

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26196

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 23325

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26195

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26192

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26191

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26190

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26189

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26188

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26187

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26186

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26185

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26184

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26183

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26182

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26181

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26180

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26179

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26178

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26079

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26177

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26176

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26175

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26174

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26173

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26172

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26171

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26426

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26170

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25878

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26169

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26168

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26167

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26164

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26163

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26162

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26161

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26160

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26159

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26158

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26157

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26156

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26153

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26152

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26087

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26086

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26553

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26552

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26085

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26084

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26083

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26082

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26351

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26080

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26310

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26081

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26033

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26078

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 24013

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26554

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26389

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26077

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26036

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26076

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26075

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26074

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26555

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26556

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26072

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26071

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26070

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26521

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26460

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26069

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26529

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26484

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26480

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26432

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26068

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26479

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26457

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26439

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26313

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26067

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26396

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26537

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26452

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26483

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26347

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25633

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 25726

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26547

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26546

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26526

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26543

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26536

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26505

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26538

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26498

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26066

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26373

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26528

