Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases General > Re: Difference ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 3110 of 3234
Post > Topic >>

Re: Difference between last and first transaction

by Ed Prochak <edprochak@[EMAIL PROTECTED] > Mar 3, 2008 at 05:08 AM

On Feb 28, 8:48 am, frt...@[EMAIL PROTECTED]
 (Nicoletta2) wrote:
> I have an oracle database with a transactions table.
>
> One field is the versus (Entry or Exit), another is the transaction
time.
>
> I have to extract who have a difference between last yesterday exit
> transaction and first today entry transaction less then 11 hours
>
> Someone can help me in query building?
>
> The table count is about 1 milion, and daily transaction are about 3-4
> thousands
>
> Nicoletta from Italy
>
> --
>
> questo articolo e` stato inviato via web dal servizio
gratuitohttp://www.newsland.it/newssegnala
gli abusi ad ab...@[EMAIL PROTECTED]
 good way to write complex queries is to break down the requirements
into parts and then put the pieces together to for the final result.
So can you write these queries:
1: a query to show the last exit from yesterday?
2: a query to show the first entry from today?

Come back with these queries and what else that you have tried and we
can help more.
   Ed
 




 4 Posts in Topic:
Difference between last and first transaction
frtaaa@[EMAIL PROTECTED]   2008-02-28 14:48:01 
Re: Difference between last and first transaction
Ed Prochak <edprochak@  2008-03-03 05:08:09 
Re: Difference between last and first transaction
"David Cressey"  2008-03-03 22:54:58 
Re: Difference between last and first transaction
Ed Prochak <edprochak@  2008-03-04 09:24:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 22:17:14 CDT 2008.