First of the column and last of the column
hi there,
sorry if it is a repost, please redirect me if this topic has been discussed. thank you.
my question is how do i get the first entry of the particular column and the last entry of the same column without calculating the number of row?
as for now my way of doing it is
select column1 from table1 where rownum=1
and
select column1 from table1 where rownum=lastrow
but this takes up too much time....
appreciate for recommendations
"select column1 from table1 where rownum=lastrow"
I think this SQL statement will return nothing, the reason can be found here.
http://www.oracle.com/technology/oramag/oracle/06-sep/o56asktom.html
Get the last entry of the particular column:
select * from(
select column1 from table1 order by rowid desc
) where rownum = 1
Get the first entry of the particular column:
select * from(
select column1 from table1 order by rowid order by rowid
) where rownum = 1
Similar Messages
-
I bought a new album off of iTunes the wifi wasn't strong so I left my computer on as it was downloading and went to sleep. This morning I went to listen to the songs and some of the songs will only play the first 50 sec or the first minute? How do i fix it or refresh them so i can listen to them fully?
How do I get the songs to fully play? Or can i refresh the songs and redownload them?See Repair security permissions for iTunes for Windows.
tt2 -
I can't seem to decide between the 13" or the 15" MacBook Pro. I had a 14.5" I'm just used to that size. Dell which crashed on me for the third and last time. It was also my primary home computer. Is the 15" necessary or should I just get the 13"? I probably won't be doing any graphics or anything like that.
It is really a matter of your personal preference. You have to choose between the extra carrying convenience of the smaller machine and the greater "real estate" of the bigger. I use a 15", and have not found it inconvenient for carrying, even on aircraft, where it has to share backpack space with an SLR camera and assorted lenses.
-
hello guys ..when i try to update any applecation..it puts the first user a ccount and it ask the password which i dont know it cause im not the first user of this i pad ,,,,so how can i changebit to update apps dute to my account name and password???
please answer meDelete all apps that were purchased with the former ID and renown load or purchase them with your ID.
-
Hi, I have just tried to update the iPhone software and it appears to be updating but the screen on my phone has had the same picture of the apple and its at the same spot of loading (about 3 quarters) for the last HOUR!! help!
oh and the device is not being recognised by itunes now either.
-
Is it possible to print separate pages on the same sheet in preview. I would like to split a set of class power points to display Page 1 and 2 on the first page, page 3 and 4 on the second page etc.
Thanks in advance!Nevermind everyone!
I got it to work with Print Down/Across...silly me.
Thanks anyway!
-Arin -
I use "element 12" and want like in the old PS version due Automating and Contact II upload multiple filesand print them with any columns and rows on the same page . How does it work?
Can you supply a link?
-
After reinstalling game, the achievements from Game Center doesn't uploaded to the game and starts from the beginning . All the achievements are seen in the Game Center . How could I upload the last progress into the game?
Hello there, Elena Lyubina.
The following Knowledge Base article offers up some great steps for troubleshooting issues with an application not functioning as expected:
iOS: An app you installed unexpectedly quits, stops responding, or won’t open
http://support.apple.com/kb/ts1702
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
Why does my first page print great and all of the rest are the wrong orientation?
When I am viewing my PDFs in Adobe Reader, they look great. When I print them, the first page is correct and all of the rest are the wrong orientation.
Please help!Hi there ashp,
Try downloading and running the print and scan doctor located here:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
It can fix a lot on its own and if not give a better idea of what is going on.
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
I uploaded 3 audiobooks from iTunes to my iPhone 5 with the latest ios7 on it. Each of them only plays the first 15 mins of the playback and then silence, the bar shows the book is still playing but no sound, any ideas? Thanks
What happens when playing the same books in iTunes. Is there sound after 15 min?
If also silent in iTunes, check the info tab where you can see the item is an audiobook, etc. Check the volume bar, this normally is on the zero point.
When an audio book is really low in audio, I tend to move this to the plus side (+1=max), but for some strange reason this bar was at -1 in some books I had and they also seemed to play in absolute silence. -
When I share a video with fcpx and it goes to Quicktime, the last few seconds goes mute. I checked the clip and sent that the same route and all is fine. It is only when I send the whole 3gb video. Any ideas?
paul71054 wrote:
... Any ideas?
add a few seconds black to your project.
Try again.
could be some really weird codec problem, with 'cut' GOPs', .. somethin'... -
I have Downloaded A Album by Rhianna and after 40 seconds of playing the first song it skips and goes onto the other song on the album , how do i fix this ?
Delete the song from your library and re-download it from the Purchases section of the iTunes Store.
http://support.apple.com/kb/PH12491 -
My new (2 months old) 5s fingerprint recognition sensor does not work. It worked well when I first got it but now to get it to work I have to redo my fingerprints every few days, which completely negates the convenience and cost of the phone. I have tried all the tips and they help a little but it always stops working and I have to redo my fingerprints. Does Apple read these comments? Is there an app that might help?
Apple does not read here.
If you want Apple to know send feedback
http://www.apple.com/feedback/iphone.html
I also have iPhone 5s on day one and it's working since. When it's not registering, I just clean the Home button and it works straight away.
Did you try when registering fingerprint using all angles? It should learn the more you use it.
Did you clean the sensor with a soft cloth?
http://support.apple.com/kb/HT5883 -
How to set the WIDTH and ALIGN of h:column in h:dataTable ??
How to set the WIDTH and ALIGN of <h:column> in <h:dataTable>??
Thanks a lot!Hi,thanks to your reply.
Now I find a more convenient appraoch to set column's width and align respectively:
<h:dataTable ...>
<h:column>
<f:facet name='header'>
</f:facet>
<h:outputText style="width:80px; text-align: right;" value='#{row.fieldA}'/>
</h:column>
<h:column>
<f:facet name='header'>
</f:facet>
<h:outputText style="width:120px; text-align: left;" value='#{row.fieldB}'/>
</h:column>
</h:dataTable>
It works fine.
^-^ -
I lost my iPhone, but it's been more than 24 hours so iCloud won't let me see the last known location of the device, and i need the map of it's last know location to find the phone, how do i get the map of it's last known location?
It's not likely to re-connect to a network lying on the ground somewhere and getting rained on, it would be really great if I could see that map again so I could use it's last known location to find it. Kind of pointless to have a 24 hr killswitch deadline. If I had known I would have taken a screen-shot while I still had access to the information. Since I lost the phone at Canada's Wonderland (which is now closed for the season) I don't have access to the location where I lost the phone (under a roller-coaster probably), and so I wanted to send the Lost And Found people a screen-shot of it's last known location, but I guess I can't do that now. (Apple are big jerks)
Maybe you are looking for
-
Windows Small Business Server 2008 c000021a 0x00000000 wusa
Good day (well hopefully it improves...), I initially got a BSOD 0xc00000f which chkdsk sorted then I ran into 0xc000000f which I got around by restoring backup hives. 0xc000000d was in there somewhere as well which, if I remember this whole process
-
File updation in PDF File format:
Hiii..... If i do any type of updation in the pdf file, what are the effects of updation in its file format...????? And which type of updates can we do in pdf file. I know little bit about the links,comments,notes,bookmarks etc..
-
How to clear interco vendor/customer which auto created during interco pstg
Hi all, During intercompany posting, system auto created vendor/customer line items. When and how these created items to be clear out? TQ
-
Has anyone else found the bluetooth functionality predominantly restrictive. There seems no way of exploring another device such as a mobile phone, PDA or another computer. I have the TOSHIBA LIBRETTO 108 with XP home and 30Gb HDD! Often I make notes
-
OS5 Security: Log out required to refresh?
Question: Using OS5.0 SP2, when I make a change to a user's profile, must that user log out and back in for that update to become effective? If this is the case, what happens if the update is being applied is more restrictive...and, the user never lo