Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In a property booking section want a query to check that
property is booked from StartDate to EndDate.Booking Table
field are given

id
proerty_id
start_date
checkout_date
no_of_visitor
booking date
status

Waiting yours answer..
Thanks In Advance...



In a property booking section want a query to check that property is booked from StartDate to EndDa..

Answer / sudhanshu_kmr

select * from property_table where
to_days(bookingdate)> to_days(startdate) and to_days(bookingdate)< to_days(enddate) ;

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More MySQL Interview Questions

How we can get the current date in mysql?

0 Answers  


How to see the create table statement of an existing table?

0 Answers  


How do I change directories in mysql?

0 Answers  


How do I view a mysql database?

0 Answers  


How do I rename a table in mysql?

0 Answers  


What is datadir?

0 Answers  


Is postgresql better than mysql?

0 Answers  


How do I change the max connections in mysql?

0 Answers  


How to run 'mysql' commands from a batch file?

0 Answers  


What is a procedure example?

0 Answers  


What is mysql sleep process?

0 Answers  


What is the storage engine used for MySQL?

1 Answers  


Categories