
set names utf8
# [15-Aug-2024 07:49:35] /constantinoff/res/root/bg/users/login.html 167.99.142.201

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

set names utf8
# [15-Aug-2024 07:49:38] /constantinoff/res/root/bg/users/login.html 167.99.142.201

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

set names utf8
# [15-Aug-2024 07:49:40] /constantinoff/res/root/bg/users/login.html 167.99.142.201

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

set names utf8
# [15-Aug-2024 07:49:43] /constantinoff/res/root/bg/users/login.html 167.99.142.201

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

set names utf8
# [15-Aug-2024 07:49:44] /constantinoff/res/root/bg/users/login.html 167.99.142.201

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

set names utf8
# [15-Aug-2024 07:49:46] /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
# [15-Aug-2024 07:49:46] /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` = 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

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

set names utf8
# [15-Aug-2024 07:49:47] /constantinoff/res/root/bg/resweb/num.html?_=1723697387524 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
# [15-Aug-2024 07:49:53] /constantinoff/res/root/bg/resweb/num.html?_=1723697387525 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
# [15-Aug-2024 07:49:54] /constantinoff/res/root/bg/resweb.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE 1
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [15-Aug-2024 07:49:54] /constantinoff/res/root/bg/resweb/num.html?_=1723697394812 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
# [15-Aug-2024 07:49:58] /constantinoff/res/root/bg/resweb.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE 1
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [15-Aug-2024 07:49:58] /constantinoff/res/root/bg/resweb/num.html?_=1723697398408 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
# [15-Aug-2024 07:49:58] /constantinoff/res/root/bg/reservations/week.html 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`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-08-15' AND '2024-08-22'

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
         AND  `reservations`.`ResDate` BETWEEN STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW()), 'Monday'), '%X%V %W') AND STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW())+1, 'Sunday'), '%X%V %W') 
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [15-Aug-2024 07:49:59] /constantinoff/res/root/bg/resweb/num.html?_=1723697399356 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
# [15-Aug-2024 07:50:01] /constantinoff/res/root/bg/reservations/today.html 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`
                            WHERE
                               `reservations`.`ResDate` = '2024-08-15'

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
         AND  `reservations`.`ResDate` LIKE '2024-08-15%' 
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [15-Aug-2024 07:50:01] /constantinoff/res/root/bg/resweb/num.html?_=1723697401592 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
# [15-Aug-2024 07:50:01] /constantinoff/res/root/bg/reservations/week.html 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`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-08-15' AND '2024-08-22'

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
         AND  `reservations`.`ResDate` BETWEEN STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW()), 'Monday'), '%X%V %W') AND STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW())+1, 'Sunday'), '%X%V %W') 
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [15-Aug-2024 07:50:02] /constantinoff/res/root/bg/resweb/num.html?_=1723697402291 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
# [15-Aug-2024 07:50:02] /constantinoff/res/root/bg/reservations/calendar.html 167.99.142.201

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

set names utf8
# [15-Aug-2024 07:50:02] /constantinoff/res/root/bg/resweb/num.html?_=1723697403191 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
# [15-Aug-2024 07:50:02] /constantinoff/res/root/bg/reservations/days/2024-08.html?_=1723697403192 167.99.142.201

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

SELECT DISTINCT
                `ResDate`
            FROM
                `reservations`
            WHERE
                `ResDate` LIKE '2024-08%'
            ORDER BY `reservations`.`ResDate` ASC

set names utf8
# [15-Aug-2024 07:50:06] /constantinoff/res/root/bg/reservations/form.html 167.99.142.201

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

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                0 AS 'HallTablesNum'
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '0'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2024-08-15' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '02:50:00' AND '12:50:00' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [15-Aug-2024 07:50:07] /constantinoff/res/root/bg/resweb/num.html?_=1723697407195 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
# [15-Aug-2024 07:50:13] /constantinoff/res/root/bg/resweb/num.html?_=1723697407196 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
# [15-Aug-2024 07:50:19] /constantinoff/res/root/bg/resweb/num.html?_=1723697407197 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
# [15-Aug-2024 07:50:25] /constantinoff/res/root/bg/resweb/num.html?_=1723697407198 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
# [15-Aug-2024 07:50:26] /constantinoff/res/root/bg/tables/shema/hallid_1/time_1723708800.html 167.99.142.201

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

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2024-08-15' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '06:00:00' AND '16:00:00' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '1' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '1'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [15-Aug-2024 07:50:31] /constantinoff/res/root/bg/resweb/num.html?_=1723697407199 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
# [15-Aug-2024 07:50:37] /constantinoff/res/root/bg/resweb/num.html?_=1723697407200 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
# [15-Aug-2024 07:50:43] /constantinoff/res/root/bg/resweb/num.html?_=1723697407201 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
# [15-Aug-2024 07:50:49] /constantinoff/res/root/bg/resweb/num.html?_=1723697407202 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
# [15-Aug-2024 07:50:55] /constantinoff/res/root/bg/resweb/num.html?_=1723697407203 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
# [15-Aug-2024 07:51:02] /constantinoff/res/root/bg/resweb/num.html?_=1723697407204 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
# [15-Aug-2024 07:51:06] /constantinoff/res/root/bg/tables/conflict/resid_0/time_1723708800.html 167.99.142.201

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

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2024-08-15' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '06:00:00' AND '16:00:00' /* 4 CHASA NAPRED OT POSOCHENIQ  */

set names utf8
# [15-Aug-2024 07:51:07] /constantinoff/res/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [15-Aug-2024 07:51:08] /constantinoff/res/root/bg/resweb/num.html?_=1723697407205 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
# [15-Aug-2024 07:51:11] /constantinoff/res/root/bg/clients/flist.html 167.99.142.201

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

SELECT DISTINCT * FROM (
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE 'верт%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            UNION
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE 'wert%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            UNION
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE '%верт%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            UNION
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE '%wert%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            ) A
            LIMIT 10

set names utf8
# [15-Aug-2024 07:51:13] /constantinoff/res/root/bg/clients/flist.html 167.99.142.201

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

SELECT DISTINCT * FROM (
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE 'верт вертверт%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            UNION
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE 'wert wertwert%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            UNION
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE '%верт вертверт%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            UNION
                (SELECT
                    `ID`,
                    `Phone`,
                    `FullName`,
                    `Specials`,
                    `Comment`
                FROM
                    `clients`
                WHERE
                    `FullName` LIKE '%wert wertwert%'
                    AND Visible = 1
                ORDER BY `FullName` ASC
                LIMIT 10)
            ) A
            LIMIT 10

set names utf8
# [15-Aug-2024 07:51:14] /constantinoff/res/root/bg/resweb/num.html?_=1723697407206 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
# [15-Aug-2024 07:51:17] /constantinoff/res/root/bg/clients/insert.html 167.99.142.201

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

SHOW COLUMNS FROM clients

INSERT INTO clients SET RegDate='2024-08-15 07:51:17', LastUpdate='2024-08-15 07:51:17', Phone='5678567856', FullName='wert wertwert', OfficePhone='', OrgName='', Specials='VIP', Comment=''

set names utf8
# [15-Aug-2024 07:51:20] /constantinoff/res/root/bg/tables/conflict/resid_0/time_1723708800.html 167.99.142.201

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

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2024-08-15' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '06:00:00' AND '16:00:00' /* 4 CHASA NAPRED OT POSOCHENIQ  */

set names utf8
# [15-Aug-2024 07:51:20] /constantinoff/res/root/bg/reservations/insert.html 167.99.142.201

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

SHOW COLUMNS FROM reservations

INSERT INTO reservations SET PostDate='2024-08-15 07:51:20', LastUpdate='2024-08-15 07:51:20', ClientID='23042', CallID='0', UserID=4, ResDate='2024-08-15', ResTime='11:00', Seats='7', Specials='VIP', Comment=''

DELETE FROM `reservation_tables` WHERE `ReservationID` = '26561'

INSERT INTO `reservation_tables`
                        (`ReservationID`, `TableID`) VALUES
                        ('26561', '96')

INSERT INTO `reservation_tables`
                        (`ReservationID`, `TableID`) VALUES
                        ('26561', '40')

set names utf8
# [15-Aug-2024 07:51:20] /constantinoff/res/root/bg/resweb/num.html?_=1723697407207 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
# [15-Aug-2024 07:51:20] /constantinoff/res/root/bg/reservations.html 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
# [15-Aug-2024 07:51:20] /constantinoff/res/root/bg/resweb/num.html?_=1723697481150 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
# [15-Aug-2024 07:51:25] /constantinoff/res/root/bg/reservations/form/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
                SUM(`tables`.`Seats`) + SUM(`tables`.`AdSeats`) AS MaxSeats
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
            WHERE
                `reservation_tables`.`ReservationID` = '26549'

SELECT
                `TableID`
            FROM
                `reservation_tables`
            WHERE
                `ReservationID` = '26549'

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = '23022'
            LIMIT 1

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                
                (SELECT
                    COUNT(`reservation_tables`.`TableID`)
                FROM
                    `reservation_tables`
                    INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                WHERE
                    `reservation_tables`.`ReservationID` = '26549' AND
                    `tables`.`HallID` = `halls`.`ID`)  AS 'HallTablesNum'
            
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '26549'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2026-04-20' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '15:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '26549'

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [15-Aug-2024 07:51:25] /constantinoff/res/root/bg/resweb/num.html?_=1723697485912 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
# [15-Aug-2024 07:51:31] /constantinoff/res/root/bg/resweb/num.html?_=1723697485913 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
# [15-Aug-2024 07:51:37] /constantinoff/res/root/bg/resweb/num.html?_=1723697485914 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
# [15-Aug-2024 07:51:44] /constantinoff/res/root/bg/resweb/num.html?_=1723697485915 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
# [15-Aug-2024 07:51:44] /constantinoff/res/root/bg/tables/shema/hallid_1/resid_26549/time_1776706200.html 167.99.142.201

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

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2026-04-20' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '15:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '26549'

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '1' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '1'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [15-Aug-2024 07:51:46] /constantinoff/res/root/bg/tables/shema/hallid_6/resid_26549/time_1776706200.html 167.99.142.201

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

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2026-04-20' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '15:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '26549'

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [15-Aug-2024 07:51:50] /constantinoff/res/root/bg/resweb/num.html?_=1723697485916 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
# [15-Aug-2024 07:51:56] /constantinoff/res/root/bg/resweb/num.html?_=1723697485917 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
# [15-Aug-2024 07:51:56] /constantinoff/res/root/bg/tables/shema/hallid_6/resid_26549/time_1776697200.html 167.99.142.201

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

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2026-04-20' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '13:00:00' AND '23:00:00' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '26549'

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [15-Aug-2024 07:52:02] /constantinoff/res/root/bg/resweb/num.html?_=1723697485918 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
# [15-Aug-2024 07:52:08] /constantinoff/res/root/bg/resweb/num.html?_=1723697485919 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
# [15-Aug-2024 07:52:14] /constantinoff/res/root/bg/resweb/num.html?_=1723697485920 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
# [15-Aug-2024 07:52:20] /constantinoff/res/root/bg/resweb/num.html?_=1723697485921 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
# [15-Aug-2024 07:52:26] /constantinoff/res/root/bg/resweb/num.html?_=1723697485922 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
# [15-Aug-2024 07:52:32] /constantinoff/res/root/bg/resweb/num.html?_=1723697485923 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
# [15-Aug-2024 07:52:38] /constantinoff/res/root/bg/resweb/num.html?_=1723697485924 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
# [15-Aug-2024 07:52:44] /constantinoff/res/root/bg/resweb/num.html?_=1723697485925 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
# [15-Aug-2024 07:52:50] /constantinoff/res/root/bg/resweb/num.html?_=1723697485926 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
# [15-Aug-2024 07:52:56] /constantinoff/res/root/bg/resweb/num.html?_=1723697485927 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
# [15-Aug-2024 07:53:02] /constantinoff/res/root/bg/resweb/num.html?_=1723697485928 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
# [15-Aug-2024 07:53:08] /constantinoff/res/root/bg/resweb/num.html?_=1723697485929 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
# [15-Aug-2024 07:53:14] /constantinoff/res/root/bg/resweb/num.html?_=1723697485930 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
# [15-Aug-2024 07:53:20] /constantinoff/res/root/bg/resweb/num.html?_=1723697485931 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
# [15-Aug-2024 07:53:26] /constantinoff/res/root/bg/resweb/num.html?_=1723697485932 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
# [15-Aug-2024 07:53:32] /constantinoff/res/root/bg/resweb/num.html?_=1723697485933 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
# [15-Aug-2024 07:53:38] /constantinoff/res/root/bg/resweb/num.html?_=1723697485934 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
# [15-Aug-2024 07:53:44] /constantinoff/res/root/bg/resweb/num.html?_=1723697485935 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
# [15-Aug-2024 07:53:50] /constantinoff/res/root/bg/resweb/num.html?_=1723697485936 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
# [15-Aug-2024 07:53:56] /constantinoff/res/root/bg/resweb/num.html?_=1723697485937 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
# [15-Aug-2024 07:54:02] /constantinoff/res/root/bg/resweb/num.html?_=1723697485938 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
# [15-Aug-2024 07:54:08] /constantinoff/res/root/bg/resweb/num.html?_=1723697485939 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
# [15-Aug-2024 07:54:14] /constantinoff/res/root/bg/resweb/num.html?_=1723697485940 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
# [15-Aug-2024 07:54:20] /constantinoff/res/root/bg/resweb/num.html?_=1723697485941 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
# [15-Aug-2024 07:54:26] /constantinoff/res/root/bg/resweb/num.html?_=1723697485942 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
# [15-Aug-2024 07:54:32] /constantinoff/res/root/bg/resweb/num.html?_=1723697485943 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
# [15-Aug-2024 07:54:38] /constantinoff/res/root/bg/resweb/num.html?_=1723697485944 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
# [15-Aug-2024 07:54:44] /constantinoff/res/root/bg/resweb/num.html?_=1723697485945 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
# [15-Aug-2024 07:54:50] /constantinoff/res/root/bg/resweb/num.html?_=1723697485946 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
# [15-Aug-2024 07:54:56] /constantinoff/res/root/bg/resweb/num.html?_=1723697485947 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
# [15-Aug-2024 07:55:02] /constantinoff/res/root/bg/resweb/num.html?_=1723697485948 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
# [15-Aug-2024 07:55:08] /constantinoff/res/root/bg/resweb/num.html?_=1723697485949 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
# [15-Aug-2024 07:55:14] /constantinoff/res/root/bg/resweb/num.html?_=1723697485950 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
# [15-Aug-2024 07:55:20] /constantinoff/res/root/bg/resweb/num.html?_=1723697485951 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
# [15-Aug-2024 07:55:27] /constantinoff/res/root/bg/resweb/num.html?_=1723697485952 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
# [15-Aug-2024 07:55:33] /constantinoff/res/root/bg/resweb/num.html?_=1723697485953 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
# [15-Aug-2024 07:55:39] /constantinoff/res/root/bg/resweb/num.html?_=1723697485954 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
# [15-Aug-2024 07:55:45] /constantinoff/res/root/bg/resweb/num.html?_=1723697485955 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
# [15-Aug-2024 07:55:51] /constantinoff/res/root/bg/resweb/num.html?_=1723697485956 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
# [15-Aug-2024 07:55:57] /constantinoff/res/root/bg/resweb/num.html?_=1723697485957 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
# [15-Aug-2024 07:56:03] /constantinoff/res/root/bg/resweb/num.html?_=1723697485958 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
# [15-Aug-2024 07:56:09] /constantinoff/res/root/bg/resweb/num.html?_=1723697485959 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
# [15-Aug-2024 07:56:15] /constantinoff/res/root/bg/resweb/num.html?_=1723697485960 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
# [15-Aug-2024 07:56:21] /constantinoff/res/root/bg/resweb/num.html?_=1723697485961 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
# [15-Aug-2024 07:56:27] /constantinoff/res/root/bg/resweb/num.html?_=1723697485962 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
# [15-Aug-2024 07:56:33] /constantinoff/res/root/bg/resweb/num.html?_=1723697485963 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
# [15-Aug-2024 07:56:39] /constantinoff/res/root/bg/resweb/num.html?_=1723697485964 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
# [15-Aug-2024 07:56:45] /constantinoff/res/root/bg/resweb/num.html?_=1723697485965 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
# [15-Aug-2024 07:56:51] /constantinoff/res/root/bg/resweb/num.html?_=1723697485966 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
# [15-Aug-2024 07:56:58] /constantinoff/res/root/bg/resweb/num.html?_=1723697485967 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
# [15-Aug-2024 07:57:04] /constantinoff/res/root/bg/resweb/num.html?_=1723697485968 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
# [15-Aug-2024 07:57:10] /constantinoff/res/root/bg/resweb/num.html?_=1723697485969 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
# [15-Aug-2024 07:57:16] /constantinoff/res/root/bg/resweb/num.html?_=1723697485970 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
# [15-Aug-2024 07:57:22] /constantinoff/res/root/bg/resweb/num.html?_=1723697485971 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
# [15-Aug-2024 07:57:28] /constantinoff/res/root/bg/resweb/num.html?_=1723697485972 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
# [15-Aug-2024 07:57:34] /constantinoff/res/root/bg/resweb/num.html?_=1723697485973 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
# [15-Aug-2024 07:57:40] /constantinoff/res/root/bg/resweb/num.html?_=1723697485974 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
# [15-Aug-2024 07:57:46] /constantinoff/res/root/bg/resweb/num.html?_=1723697485975 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
# [15-Aug-2024 07:57:52] /constantinoff/res/root/bg/resweb/num.html?_=1723697485976 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
# [15-Aug-2024 07:57:58] /constantinoff/res/root/bg/resweb/num.html?_=1723697485977 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
# [15-Aug-2024 07:58:04] /constantinoff/res/root/bg/resweb/num.html?_=1723697485978 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
# [15-Aug-2024 07:58:10] /constantinoff/res/root/bg/resweb/num.html?_=1723697485979 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
# [15-Aug-2024 07:58:16] /constantinoff/res/root/bg/resweb/num.html?_=1723697485980 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
# [15-Aug-2024 07:58:22] /constantinoff/res/root/bg/resweb/num.html?_=1723697485981 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
# [15-Aug-2024 07:58:28] /constantinoff/res/root/bg/resweb/num.html?_=1723697485982 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
# [15-Aug-2024 07:58:34] /constantinoff/res/root/bg/resweb/num.html?_=1723697485983 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
# [15-Aug-2024 07:58:40] /constantinoff/res/root/bg/resweb/num.html?_=1723697485984 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
# [15-Aug-2024 07:58:46] /constantinoff/res/root/bg/resweb/num.html?_=1723697485985 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
# [15-Aug-2024 07:58:52] /constantinoff/res/root/bg/resweb/num.html?_=1723697485986 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

