Find Jobs
Hire Freelancers

Create SQL 2000 View that assigns row number to each row

$30-250 USD

已完成
已发布超过 10 年前

$30-250 USD

货到付款
I need a SQL 2000 View that assigns a row number to each record. In later versions of SQL, this can be accomplished using the WITH statement. Unfortunately, this feature did not exist for this version. The statement would work something like this: select id, product_code, ROWNUM from subscriptions where prod_type = 'chapt' and status = 'a' The challenge is creating that ROWNUM field, or whatever you'd like to call it. The value should start with 1 and increment by 1 for each new row. When the id value changes, the rownum should start back with 1 and increment by 1. For example: id product_code rownum 1025 gold 1 1025 nregion 2 1025 florida 3 1036 southeast 1 1036 magazine 2
项目 ID: 5074476

关于此项目

2提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
hi as per the discussion task has been done and also given to you..................................................................
$75 USD 在1天之内
5.0 (3条评论)
3.7
3.7

关于客户

UNITED STATES的国旗
Woodstock, United States
5.0
14
付款方式已验证
会员自3月 11, 2012起

客户认证

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