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 pdo in mysql?

0 Answers  


how many table created when we create a table in mysql?

3 Answers  


How to get the current date in mysql?

0 Answers  


How does triggers work in mysql?

0 Answers  


What is a mysql view?

0 Answers  


What are the differences between char and varchar?

0 Answers  


How do I get a list of table names in mysql?

0 Answers  


What is 'mysqlcheck'?

0 Answers  


how to search second maximum(second highest) salary value(integer)from table employee (field salary)in the manner so that mysql gets less load?

0 Answers  


What is mysql and why it is used?

0 Answers  


How much does mysql enterprise cost?

0 Answers  


Is number a datatype in mysql?

0 Answers  


Categories