title: SQL Error while executing query
body: <p>I am trying to run a query. But it gives a error.</p>
  
  <pre><code>    Query: UPDATE b SET b.Booking_Date = CURDATE() ,b.Departure_City = 'test', b.Arrival_City = 'test', b.Departure_DateAndTime = CURDATE()...
  
      Error Code: 1064
      You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM Booking b inner join Booking_Type bt 
      on b.Booking_Id = bt.Booking_Id in' at line 4
  </code></pre>
  
  <p>Query:</p>
  
  <pre><code>    UPDATE b SET b.Booking_Date = CURDATE() ,b.Departure_City = 'test', b.Arrival_City = 'test',
                  b.Departure_DateAndTime = CURDATE(), b.No_Of_Tickets = '5',
                  b.Is_Active = 1, b.Modified_Date = CURDATE(), b.Modified_By = 123   
          FROM Booking b INNER JOIN Booking_Type bt 
          ON b.Booking_Id = bt.Booking_Id INNER JOIN Ticket t 
          ON t.Booking_Type_Id =  bt.Booking_Type_Id WHERE t.Ticket_No = 't001'
  </code></pre>