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 are all the Common SQL Function?

1213


Is pdo more secure than mysqli?

927


what is the default port for mysql server? : Mysql dba

1102


How do I download mysql?

938


What are the 5 r's of managing behaviors?

1132


What is a csv table?

1051


What is mysql server?

1149


Why do we use views instead of tables?

959


How do I select a database in mysql?

1123


Explain the storage engines in mysql?

1056


How do I start mysql?

930


What is 1nf 2nf 3nf?

1033


What are the advantages of a procedure?

962


How to drop an existing table in mysql?

1058


What is the usage of ENUMs in MySQL?

1181