From: Vijay Uppal <vijay25@telus.com>
To: pgsql-sql@postgresql.org
Subject: sql query
Date: Tue, 3 Dec 2002 18:03:22 -0800
Message-ID: <000001c29b39$5397e5a0$6501a8c0@bc.hsia.telus.net> (raw)
Hi I have a problem forming a query
I have 3 tables salary(hrs, clock_in , clock_out)
Break ( date, employe_id, net_time, break_in, break_out)
Employee(employee_id, pay_rate, name)
I need to get an hourly report till the current time for that day
stating name, hour, no of hours, salary
Example
Rob 3-4 48min $6.56
Min 2-3 23min $2.34
Min 3-4 54min $7.67
And so on..Would appreciate help on this.since I cant come up with the
query
Vj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: vijay25@telus.com
Subject: Re: sql query
In-Reply-To: <000001c29b39$5397e5a0$6501a8c0@bc.hsia.telus.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox