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...
Answer Posted / 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 View All Answers
What is mysqli_free_result?
How can you change the name of any existing table by using the sql statement?
What sql does mysql use?
What are the different tables present in MySQL?
What is striped backup
How to drop an existing index in mysql?
What is the difference between database and table?
What is the difference between a heap table and temporary table?
Write command to import an mysql file?
How to show all records starting with the letters 'sonia' and the phone number '9876543210'
What is not null in mysql?
Is mysql still popular?
Is mysql free for commercial use?
Can I install mysql on mac?
What is mysql and mysqli?