Find Jobs
Hire Freelancers

T-SQL Common Table Expression (CTE) to get Last Value on Max Date, Use a Particion Over -- 2

$10-30 USD

Cerrado
Publicado hace más de 1 año

$10-30 USD

Pagado a la entrega
T-SQL to get the Max Earnings value for each ID_NUM. My attempt is to use the last date SAL_RWV_DTE. I don't want to use the APP_ID identity column. It might need a window over particion on [ORG_POS] [varchar] to determine the last row number for that column . The test script and data are attached. Please look at those to determine if you have all of the information you need to complete. Reply with when you can complete the project. Project needed in 12 hours. Sql Server 2016 SP1 Conversion failed when converting date and/or time from character string. Warning: Null value is eliminated by an aggregate or other SET operation. Table [IND_SAL_HIST]( [APP_ID] [int] IDENTITY(1,1) NOT NULL, [ID_NUM] [int] NOT NULL, [ORG_POS] [varchar](9) NOT NULL, [POS_SEQ] [int] NOT NULL, [SAL_RVW_SEQ] [int] NOT NULL, [SAL_RWV_DTE] [varchar](23) NULL, [EARNINGS] [numeric](8, 2) NOT NULL, Please reply with: The time of day that you are available. I am available 7am to 10pm UTC-06:00 Central Time US & Canada. Will you require contact by voice and do you speak English? When you can complete the project. Confidentiality. a) No Use. Recipient agrees not to use the Confidential Information in any way, or to manufacture or test any product embodying Confidential Information, except for the purpose set forth above. b) No Disclosure. Recipient agrees to use its best efforts to prevent and protect the Confidential Information, or any part thereof, from disclosure to any person other than Recipient's employees having a need for disclosure in connection with Recipient's authorized use of the Confidential Information. c) Protection of Secrecy. Recipient agrees to take all steps reasonably necessary to protect the secrecy of the Confidential Information, and to prevent the Confidential Information from falling into the public domain or into the possession of unauthorized persons. d) Scope. The scope of Confidentiality is deemed to be in all contracts present past and future with the Parties to this request
ID del proyecto: 34619681

Información sobre el proyecto

13 propuestas
Proyecto remoto
Activo hace 2 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
13 freelancers están ofertando un promedio de $28 USD por este trabajo
Avatar del usuario
Hello there, I have read your requirements and am confident that I am the right candidate for the job. Among other things, I have over ten years of experience in Oracle PLSQL, PostgreSQL, MySQL, MS SQL, and others. Furthermore, I am available 24x7 to answer any questions you may have about the requirements. I look forward to hearing from you as soon as possible I would appreciate it if you would click the chat button for me if you are interested. Thanks a lot. Best regards.
$20 USD en 7 días
5,0 (3 comentarios)
3,8
3,8
Avatar del usuario
Hi I'm professional Database Developer and Engineer. I have an 6 years experience in this field. I will do this task in an hour and also availbale on given time. Feel free to contact me. Thanks
$30 USD en 1 día
4,6 (7 comentarios)
3,3
3,3
Avatar del usuario
I have 8+ experience in SQL server as a developer, dba, ssis and ssrs And also completed MCSA certificate Rich experience writing SQL queries, stored procedure, function, triggers and views
$30 USD en 1 día
5,0 (1 comentario)
3,1
3,1
Avatar del usuario
Experienced in database development from scratch till deployment along with complex queries and performance tuning. Also experienced bi solutions which includes ssis ssrs ssas and reporting tools power bi and tableau with db’s Postgressql MSSQL and MySQL. Pretty much available between 8am to 1pm your time. Saw the test script and data's available. SAL_REW_SEQ gives us the better optimized query result. We can discuss further when you are available
$30 USD en 1 día
0,0 (0 comentarios)
1,5
1,5
Avatar del usuario
I am expert in SQL. Nothing to say a lot but I am having 10 years of experiance with SQL. i can complete and work with you for this query.
$20 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, This is my First project, I am not expecting any money only support . I conducted some research, which you can see in the file below. Please take a look at my script; it is only a sample. I have a 4 years of experience, I have good hand on Created Stored Procedures, Triggers, Functions, Indexes, Views, Joins and T-SQL code for applications. Managed indexes, statistics and optimized queries by using execution plan for tuning the database. Please let me know if you are satisfied. WITH CTE AS( SELECT [ID_NUM],[ORG_POS],[POS_SEQ],[SAL_RVW_SEQ],[SAL_RWV_DTE],[EARNINGS] ,RANK()OVER(PARTITION BY [ID_NUM],[ORG_POS] ORDER BY [EARNINGS] desc,[SAL_RWV_DTE] )RN FROM [Training_DB].[dbo].[IND_PAY_HIST] ) select [ID_NUM],[ORG_POS],[POS_SEQ],[SAL_RVW_SEQ],[SAL_RWV_DTE],[EARNINGS] from CTE WHERE rn=1
$10 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, I’m a software developer who has 8+ year’s of experience in software developments and DB administration. I believe I can help you with this query. Please send me a message to discuss few things on this. Thanks
$28 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Amplio conocimiento de SQL SERVER, manejo de su lenguaje Transact-SQL, manejo DML y DDL, conocimiento de tablas, índices, procedimientos
$20 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
SAN ANGELO, United States
5,0
285
Forma de pago verificada
Miembro desde jul 28, 2008

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.