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 to find missing numbers between two order numbers;
and dates ?

Answer Posted / laxman

SELECT encounter_nr FROM care_encounter WHERE
(care_encounter.encounter_date BETWEEN '2008-03-01' AND
'2008-04-01') order by encounter_nr;
this will show 7000 rows in between date 2008-03-01 and
2008-04-01 ;
encounter_nr
200803010000
200803010001
200803010002
.
.
.
.
200803313229
in this i want to know which number is missing plz

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is delimiter in mysql trigger?

897


What is the maximum size of table in mysql?

955


What is the purpose of using a heap table?

1019


What is slow query log in mysql?

1028


What is 'mysqladmin' in mysql?

969


How do I copy a table in mysql?

882


Explain about the architecture of MYSQL?

927


What are the different data types in mysql?

876


What is the difference between timestamp and datetime in mysql?

975


Can mysql function return a table?

1032


How to get a list of all tables in a database?

1002


How to delete a database from mysql server.

985


What is meant by mysqli?

841


How do you restart mysql?

847


What are the mysql database files stored in system ?

988