how to find missing numbers between two order numbers;
and dates ?
Answer / 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 |
What are the advantages of MySQL when compared with Oracle?
How to save images in MySQL?
Which is faster innodb or myisam?
What is DCL in MySQL?
How do I find mysql version in mysql workbench?
what is constraints?
How many ways to get the current time?
How many values can the SET function of MySQL take?
2 Answers Creative Informatics,
What are the limitations of mysql?
What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?
What is mysql data directory? How to determine the location of the data directory?
How can we convert between Unix & MySQL timestamps?
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)