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...

How can we know the number of days between two given dates
using MySQL?

Answer Posted / shwetha

There is a operator {not} BETWEEN ,we can use this in where
clause to get in between dates.
ex:
select count(column name)
from table1
where dates BETWEEN '01-jul-04' and '01-jul-05';

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest mysql version?

1001


How many rows mysql can handle?

932


How to delete an existing column in a table?

938


How do I create a new database in mysql?

902


How set mysql root password?

910


How do I zip a file in mysql?

978


Is mysql query case sensitive?

960


How do I quit mysql?

930


How to create a trigger in mysql?

929


Which datatype is used for email in mysql?

948


What is mysql community server?

927


What is mysql connection limit?

924


Is mysql server free?

922


Can mysql handle billions of records?

1059


can you tell what are the different set operations available in mysql? : Mysql dba

884