Find Jobs
Hire Freelancers

mysql query with output to cvs -- 2

$10-30 USD

Selesai
Disiarkan lebih dari 9 tahun yang lalu

$10-30 USD

Dibayar semasa penghantaran
I have two queries I am looking to combine. I will like the the output to match the attached spreadsheet. I have also attached tables. SELECT [login to view URL] AS Employee, SEC_TO_TIME(SUM(TIME_TO_SEC(CONCAT(teight,':',teightb)) - TIME_TO_SEC(CONCAT(tseven,':',tsevenb)))) AS TotalHours FROM schedule WHERE [login to view URL] BETWEEN '2014-08-29' AND '2014-08-29' GROUP BY custno SELECT regular, employee FROM timesheet WHERE [login to view URL] between '2014-08-29' AND '2014-08-29' GROUP BY employee Update: I have one query but I have this trouble: One problem if you run this query you will see total hours says 10 for all but 1 of the result should be 12. SELECT [login to view URL],[login to view URL],MIN([login to view URL]),MAX([login to view URL]),SEC_TO_TIME(SUM([login to view URL])) AS total_hours,[login to view URL],TIMEDIFF(SEC_TO_TIME(SUM([login to view URL])),[login to view URL]) AS bil FROM( SELECT [login to view URL], [login to view URL],[login to view URL],[login to view URL],t.`regular`,TIME_TO_SEC(TIMEDIFF([login to view URL],[login to view URL])) AS total FROM schedule AS s LEFT JOIN timesheet AS t ON ([login to view URL] = [login to view URL] AND s.date=[login to view URL]) )a WHERE a.date='2014-08-29' GROUP BY [login to view URL],[login to view URL];
ID Projek: 6529540

Tentang projek

13 cadangan
Projek jarak jauh
Aktif 10 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
As discussed I am placing the bid in this project. Kindly accept so that I can start working in it. Thanks, Ayan Dasgupta.
$30 USD dalam 1 hari
4.6 (10 ulasan)
3.7
3.7
13 pekerja bebas membida secara purata $33 USD untuk pekerjaan ini
Avatar Pengguna
Hello, With 99% completion rate, 700 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$79 USD dalam 1 hari
5.0 (827 ulasan)
8.3
8.3
Avatar Pengguna
A proposal has not yet been provided
$30 USD dalam 1 hari
5.0 (789 ulasan)
7.9
7.9
Avatar Pengguna
A proposal has not yet been provided
$25 USD dalam 1 hari
4.9 (207 ulasan)
6.3
6.3
Avatar Pengguna
Greetings!! Let me take this opportunity to introduce myself, I am Abhi here. I have good track record of designing comprehensive solutions ranging from Social Networking, E-Commerce, Real Estate, Healthcare, Travel and Job Sites since last 4 year. I have gone through your project specification and understood that you are looking for PHP developer. I am happy to inform you that I can work on your projects as I have core competency/expertise in PHP, MVC, OOPS, jQuery, javascript, ajax, wordpress, html, html5, css, photoshop, psd, html, html5, psd to html, mysql and Yii framework. I can assure you that I'll give my best to complete the project with full dedication and sincerity. I am ready to start this project immediately. Please message me so we can discuss about your project. Let's start. Eagerly waiting for your positive response and more details about the project. Thanks & best regards Abhi
$30 USD dalam 1 hari
4.9 (142 ulasan)
6.0
6.0
Avatar Pengguna
I am specialize in C++,C#.net,ASP.Net,JAVA, PHP, MySQL, Wordpress, e-commerce websites and portals, payment gateways and customized web based applications. my aim to deliver quality products to our customers within specified deadline. i strongly believe in Quality work. If hired by you I will put in my best work. I am ready to be hired by you and start work on your jobs.
$22 USD dalam 2 hari
4.7 (96 ulasan)
6.1
6.1
Avatar Pengguna
Hi, Thanks for inviting me to bid. I can do it in 1 day of time. Please let me know if you want me to start right now. Thanks, Ayan Dasgupta
$30 USD dalam 0 hari
4.9 (14 ulasan)
5.0
5.0
Avatar Pengguna
Hi There, Can be done now. Please share this project and will give you the perfect work. Thanks for this.
$30 USD dalam 1 hari
4.9 (49 ulasan)
4.6
4.6
Avatar Pengguna
Having 3+ years of experience in Oracle and MYSQL Database. Have vast knowledge of Database architecture, Performance tuning, Query Optimization. Currently working in Oracle India pvt ltd. I have created the query and tested it. It is giving the required output as mentioned in the xls. Lets discuss.
$25 USD dalam 1 hari
4.9 (15 ulasan)
4.3
4.3
Avatar Pengguna
Hi, I have checked excel sheet and tables attached. I can create required sql. Besides this I will create a php script which uses that script and then automatically generate excel sheet filled with data you want. Thank you. Kind Regards, Nirmal
$30 USD dalam 1 hari
5.0 (2 ulasan)
2.4
2.4

Tentang klien

Bendera UNITED STATES
louisville, United States
5.0
29
Kaedah pembayaran disahkan
Ahli sejak Jan 25, 2013

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.