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 / 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 |
How would you backup and restore a big MySQL database? What are the advantages of the approach which you have taken over the others?
How to determine the location of the data directory?
What can you do with mysql?
Explain the difference between procedure and function in mysql?
What is new mysqli?
What are mysql functions?
What is data types in mysql?
Which storage engines support transactions in MySQL?
how to add a new column to an existing table?
What is mysql primary key?
What are the 'mysql' command line arguments?
what is database black box testing? : Mysql dba
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)