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

0 Answers  


Explain the difference between mysql and mysqli interfaces in PHP?

10 Answers   TCS,


What is bigint in mysql?

0 Answers  


What is the difference between char and varchar data types?

6 Answers  


how do i list constraints in my database by using sql server2000?

1 Answers  


How large can a mysql database become?

0 Answers  


How can you calculate the sum of any column of a table?

0 Answers  


write a query to mysql in safe mode and to change the root password

0 Answers  


What are slow queries?

0 Answers  


What are the differences between MySQL_fetch_array(), MySQL_fetch_object(), MySQL_fetch_row()?

2 Answers  


What is ISAM?

0 Answers  


What is mysql server?

0 Answers  


Categories