Data Filter Using Date and Character.

in #esteem6 years ago

good night. long time no writing.
tonight I wrote a little about how to use dates and characters
When building a database application, surely we will meet with a large case of data processing or enormous data retrieval.
To facilitate the process of retrieving data, and processing it, we must know how to retrieve data with certain criteria from the database. The process of filtering data is important because actually the user does not need all the data in the database,
but only a small portion.
Suppose that stored financial transaction data can contain millions of rows of data in the last few years, usually users only need transaction data in a particular month.
This article will try to explain how to filter data from databases based on several criteria at once, namely based on strings, numbers, and dates.

Suppose we have 2 (two tables), namely Orders and OrderTypes. Table Orders store transaction data along with the date and type of transaction. Table OrderTypes stores the definition of the types of transactions that exist, for example, Purchase Order transactions, Deliver Orders and so on. The appearance of the table Orders content is like in the picture below,
)


And

Sort:  

Congratulations @steemprogrammer! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.19
TRX 0.18
JST 0.032
BTC 86629.59
ETH 3261.39
USDT 1.00
SBD 2.93