It entirely depends on your table structure.
All SQL select statements are made up of 3 basic parts.
The "select" is the part that you would declare what columns you wish to view (* Means all columns)
The "From" declares what table/s you want to get the data from
The Clauses "Where, And, Having" is where you define your criteria.
If you have all your data in one table you would use something like below. (Assuming booking is a Yes or No)
Select *
from customers
where upper(surname) = 'BROWN'
and booking = 'Yes'
I made the surname convert to upper as you may have BROWN, Brown, brown, bRoWn in your database so this matches the string not the casing
If you have a separate customers and bookings table it would look something like below. Assuming both tables have some commonality (I am assuming both have customerid)
Select *
from customers, bookings
where customers.customerid = bookings.customerid
and upper(customers.surname) = 'BROWN'
and bookings.booking = 'Yes'
Or
Select *
from customers
where upper(surname) = 'BROWN'
and customerid in (select customerid from bookings)
I gave 2 ways to do the statement if there are multiple tables and both would return all the customer data if there is a booking. HOWEVER if you want to see some data from the bookings table you would use the first as you can define columns e.g. Customers.*, Bookings.Booking date
If you want more information in the form of a tutorial please see. http://www.mikespraggett.co.uk/Pages/HowTo/HowToViewer.aspx?Article=7&Title=Selecting%20Data