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

What is the default port for MySQL Server?

0 Answers  


What is meant by decimal (5,2)?

0 Answers  


How to insert dynamic values in mysql using php?

0 Answers  


How to create table show example

0 Answers  


How do I run mysql?

0 Answers  


How can you filter the duplicate data while retrieving records from the table?

0 Answers  


How do I edit a table in mysql?

0 Answers  


What is general log in mysql?

0 Answers  


What are the column comparisons operators?

0 Answers  


How many entries can mysql handle?

0 Answers  


What is mysql default port number?

0 Answers  


What is regex in mysql?

0 Answers  


Categories