Good morning, I am new to this site, I would like to know if someone could help me or guide me with this doubt.
I have a table in MYSQL
call Facturas
, have a field called INVOICE NUMBER ( NUMFAC
), among others, the field saves a character that identifies the status of the invoice, for the invoice paid the first character is a letter P
, now what I want is to know if through a select something can be done, it can be obtained if there are invoice jumps in a range of dates.
I'll leave you how the table is structured more or less.
+------------------------------------+
|..Fecha...|Hora|.NumFac.|
|2017-07-25|0801|P0000001|
|2017-07-25|0802|P0000002|
|2017-07-25|0810|P0000003|
|2017-07-25|0811|P0000004|
|2017-07-25|0812|P0000005|
|2017-07-25|0813|P0000007|
|2017-07-26|0802|P0000008|
|2017-07-26|0806|P0000009|
|2017-07-26|0807|P0000010|
|2017-07-26|0808|P0000011|
|2017-07-26|0810|P0000012|
|2017-07-26|0811|P0000013|
|2017-07-26|0812|P0000014|