Another table is perpetual calendar, one of the fields 0 (weekday, 1 represents the legal holiday,
Now how do you write statement to calculate the two periods of each business day?
CodePudding user response:
each business two periods of daysBusiness on the table, there are two fields are? Start and end dates?
CodePudding user response:
Suggest you list your table structure, and provide the test data, and based on these test data that corresponds to the correct result,Refer to the way the post questions http://bbs.csdn.net/topics/320211382
1. You create table XXX.. Statement
2. You insert into XXX... Statement
3. The result is what kind, and give a simple algorithm description)
4. Do you use the database name and version of (often asked in MS SQL server edition MySQL)
So people who want to help you to build the same environment with you directly, and in providing the test before, avoid the error in the text understanding,
CodePudding user response:
Weixin_39757479Junction post rate: 0%