Find Jobs
Hire Freelancers

Optimize MS-SQL query

R$30-90 BRL

Ακυρώθηκε
Αναρτήθηκε πάνω από 7 χρόνια πριν

R$30-90 BRL

Πληρωμή κατά την παράδοση
SELECT distinct [MISTERCHEFNET].[dbo].[Lojas].[Nome Loja] as 'Loja' ,c.[Código Vendedor] as 'Código Entregador' ,a.[Nome Funcionário] as 'Entregador' ,c.[Data Caixa] ,c.[Data/Hora Vencimento] ,(c.[Tempo Total Entrega] - c.[Tempo Preparo]) as 'Tempo Entrega' ,c.[Tempo Preparo] ,c.[Tempo Total Entrega] ,((select sum(p.[Valor]) FROM [MISTERCHEFNET].[dbo].[Contas a Pagar] p where a.[Nome Funcionário] = p.[Credor] and DATEDIFF(MONTH, p.[Data Vencimento], c.[Data Caixa]) = 1) + ((select count(x.[Nome Funcionário]) from [MISTERCHEFNET].[dbo].[Comissões] z full outer join [MISTERCHEFNET].[dbo].[Funcionários] x on x.[Código Funcionário] = z.[Código Vendedor] and x.[Loja]=[login to view URL] where DATEDIFF(MONTH, z.[Data Caixa], c.[Data Caixa]) = 0 and [login to view URL] = [login to view URL] and z.Repique=0 and z.[Código Vendedor] not like 0 and x.[Nome Funcionário] = a.[Nome Funcionário])*3)) / (select count(x.[Nome Funcionário]) from [MISTERCHEFNET].[dbo].[Comissões] z full outer join [MISTERCHEFNET].[dbo].[Funcionários] x on x.[Código Funcionário] = z.[Código Vendedor] and x.[Loja]=[login to view URL] where DATEDIFF(MONTH, z.[Data Caixa], c.[Data Caixa]) = 0 and [login to view URL] = [login to view URL] and z.Repique=0 and z.[Código Vendedor] not like 0 and x.[Nome Funcionário] = a.[Nome Funcionário]) as 'custo' ,[MISTERCHEFNET].[dbo].[Clientes].[Código Cliente] ,[MISTERCHEFNET].[dbo].[Clientes].[Nome Cliente] ,[MISTERCHEFNET].[dbo].[Clientes].[Endereço] ,[MISTERCHEFNET].[dbo].[Clientes].[Bairro] FROM [MISTERCHEFNET].[dbo].[Comissões] c full outer join [MISTERCHEFNET].[dbo].[Funcionários] a on a.[Código Funcionário] = c.[Código Vendedor] and a.[Loja]=[login to view URL] full outer join [MISTERCHEFNET].[dbo].[Clientes] on c.[Código Cliente] = [MISTERCHEFNET].[dbo].[Clientes].[Código Cliente] and [MISTERCHEFNET].[dbo].[Clientes].Loja = c.[Loja] left join [MISTERCHEFNET].[dbo].[Lojas] on [MISTERCHEFNET].[dbo].[Lojas].[Código Loja] = [login to view URL] where c.[Data Caixa] >= '2016-01-01' and c.Loja=2 and [login to view URL] = 0 and c.[Código Vendedor] not like 0 order by c.[Data/Hora Vencimento] desc;
Ταυτότητα εργασίας: 11357912

Σχετικά με την εργασία

5 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 8 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
5 freelancers δίνουν μια μέση προσφορά R$89 BRL για αυτή τη δουλειά
Avatar Χρήστη
Hello, I have been working with a MNC based company since last ~ 5 years, as an IT BI DWH Professional. The project is a BI DWH project which covers 3 layers of BI (ETL, Data warehouse & Reporting) and helped me in nourishing my talent in all the technologies around these 3 layers. Below are some key areas of my skills: • Expert in SQL Server, Oracle and MS Access Databases • Expert in BO XI, Cognos and SQL Server Reporting Service (SSRS) • Expert in & designing & Implementation of end to end ETL Process using Informatica & SSIS Tools • Expert in Designing Qlikview Dashboard BI Solution • Expert in ER & Dimension Data modeling • Complete Command on PL/SQL concept e.g. Procedures, Functions, packages and complex queries. • Basic knowledge of Unix Shell scripting • Web Development using Java, CSS, and HTML ,PHP & Java Script • Expert in excel Macro • Expert in C & C ++ Programming I have experience in all the above areas and during my project work I have completed all of the above tasks. As a Freelancer also I have worked in few of the above areas where I got a chance and delivered the best. I had conducted Informatica & DWH training for a US based training organization from Nov’14 to Dec’14. We recently started our own company “Point5Nyble Your Needs, Our Dream”. We always work to provide Best Delivery with 100 % customer satisfaction Would be looking forward to work on this opportunity and will ensure to deliver best. Regards, Ashish-Point5Nyble
R$90 BRL σε 1 ημέρα
4,7 (28 αξιολογήσεις)
4,7
4,7
Avatar Χρήστη
A proposal has not yet been provided
R$90 BRL σε 2 ημέρες
5,0 (7 αξιολογήσεις)
3,8
3,8
Avatar Χρήστη
A proposal has not yet been provided
R$95 BRL σε 1 ημέρα
5,0 (1 αξιολόγηση)
0,7
0,7
Avatar Χρήστη
Let's start! I understand what you need and you will have a 100% complete job on time. I can assure you that if you work with me once, you will always work with me for these kind of projects.
R$75 BRL σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
A proposal has not yet been provided
R$95 BRL σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της BOUVET ISLAND
Rio de Janeiro, Bouvet Island
5,0
56
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Απρ 16, 2013

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.