Find Jobs
Hire Freelancers

SQL 2000 - SP

$30-100 USD

已完成
已发布将近 20 年前

$30-100 USD

货到付款
I need a SP to create a report. The SP have to do the following for each record in the Clinics Table: THE EASY PART: 1. Count Total number of visits (ClientsAttendance Table). Name this column "Visit" 2. Count total number of de treatments (TreatmentAttendance Table).Name this column "Acupt" 3. Count Total number of groups (GroupAttendance Table).Name this column "Group" 4. Filtered by IsOpen, where Isopen = 1 (Clinics Table). 5. Sorted by Team (Clinics Table). 6. Sorted by Lname (Clinics Table). 7. Sorted by Fname (ClinicsTable). THE BRAIN PART: 7. Give each client one point for each day a client has negative toxicology result (ToxicologyAttendance).Name this column "Negative Toxicology". For example: if a particular client at a specific day has three negative results and one posive, he or her will get cero points. On the other hand, if the client has no positive results that day, he or she will get one point. It does not matter how many negative results the client has a particular day, he or she will get only one point. In conclusion, the maximun a client can get is six points (six days, all negative), this number decrease by one each day the client have a positive result. 8. Count totals (Visit, Acupt, Group, and Negative Toxicology) for each record. Name this column "Points" 9. Divide the total numbers of "Points" by 5 (Points/5). Name this column "# of Selections" VERY IMPORTANT!! 10. All calculations must be one week late (Monday - Saturday). It means that If I run the SP the third week of the month, the SP should give me the results belonging to the second week of the month. I CANNOT PROVIDE SAMPLE DATA. INCLUDED IS THE FULL DATABASE SCRIPT. UPON REQUEST, I WILL PROVIDE AN EMPTY FULL DATABASE BACKUP. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform All Windows Platforms Broadcast message from 5/17: "I made a mistake, correct name is Toxicology results. Some tables might have have a column named TodayDate that is to be ignored from all calculations."
项目 ID: 3215101

关于此项目

5提案
远程项目
活跃20 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$6 USD 在4天之内
5.0 (7条评论)
2.2
2.2
5威客以平均价$92 USD来参与此工作竞价
用户头像
See private message.
$318.75 USD 在4天之内
4.8 (12条评论)
4.5
4.5
用户头像
See private message.
$42.50 USD 在4天之内
5.0 (7条评论)
2.9
2.9
用户头像
See private message.
$42.50 USD 在4天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$51 USD 在4天之内
5.0 (2条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Bronx, United States
5.0
109
会员自1月 15, 2010起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。